Adding modified DNSMasq to OpenWrt source code before compiling?


I need to add a slightly modified dnsmasq to OpenWRT. Instead of compiling it separately from OpenWRT, I wanted to compile both all at once.

So, how do I remove the existing dnsmasq from the OpenWRT source and add the modified dnsmasq source code instead???

Thank you

Generally, I'd suggest patching the third-party source

Alternatively you could replace the URL and hash in the package's Makefile.

1 Like