To address your actual question (sorry, I meant for the first reply to be in
your other thread, though it is related), when you make clean a package it
will remove the source from build_dir and extract the tarball from dl. So,
if you make any changes to the extracted and patched source directly in the
build_dir and then make clean, your changes are deleted.

You should use the quilt process documented in the wiki; it has tips for
recompiling a package to test your changes without having to make clean.
Also, please try the quilt steps I posted in the first reply... they should
work, and using quilt to do this will make your life much easier :)

On Fri, Oct 7, 2011 at 10:58 AM, abhinav narain
<[email protected]>wrote:

> When I modify the files in the following folder and make deliberate syntax
> errors
> and then do a make
> $make package/mac80211/{clean,compile}  V=99
>
>  folder : openwrt/src/klatch/*build_dir*/*toolchain-mips_r2_gcc*
> -4.5-linaro_uClibc-0.9.32/linux-2.6.39.4/drivers/net/wireless/ath/ath9k
>
> I don't get any compilation errors !
> I tried modifying and writing syntactically wrong code in other folder
> also, but no compilation errors,
> openwrt/src/klatch/*build_dir*/*linux-ar71xx_generic*
> /linux-2.6.39.4/drivers/net/wireless/ath/ath9k.
>
>
> Which source file shall i make changes to ?
> Does Openwrt take the files directly from dl/ folder and untars it every
> time it compiles ?
>
> Please help in resolving the issue
>
> Abhinav
>
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
>
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to