I am sorry but I am new to OpenWrt and have doubts not cleared for days.

Are you referring to http://wiki.openwrt.org/doc/devel/patches Adding kernel
patches subsection ?
I haven't found any other related documentation actually.

Also, I want to include a bunch of .h header files where i am defining my
own structures.
Which Makefiles should I add this file ?
I don't want to pollute the OpenWrt tree by adding these files in the
current tree.
Can I give somewhere the location from where these files can be fixed ?
There is no documentation on this.

PS: According to you I should do :
cd build_dir/linux-*/linux-2.*
modify the ath9k driver here
then,
make target/linux/update V=99
and then move the linux-ar71xx image to the router for testing ! !

I hope I got this right.

Abhinav

On Fri, Oct 7, 2011 at 4:17 PM, Adam Porter <[email protected]> wrote:

> 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
>
>
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to