Hello,
On 02/27/2013 06:48 PM, Rafał Miłecki wrote:
2012/9/17 Rafał Miłecki <[email protected]>:
For development purposes I had to switch to another kernel tree. I use
EXTERNAL_KERNEL_TREE, so I just entered "make menuconfig" and changed
this option.
Unfortunately OpenWRT ignored my change. After loosing some time to
notice that, I had to remove symlink:
rm build_dir/linux-brcm47xx/linux-3.3.8
and then compile again.
Can someone fix that?
Ping?
Actually if I let OpenWrt use default kernel and *then* set
CONFIG_EXTERNAL_KERNEL_TREE it was ignored as well (so it's not only
when I change the value of CONFIG_EXTERNAL_KERNEL_TREE).
Clean:
make target/linux clean
seems to be workaround for this bug.
Yes this is a known issue, there are not so many people actually using
this feature, but here is an incomplete list of known bugs that I
encountered:
1) symlink in build_dir/target-*/linux-*/linux-x.y.z is not updated when
switching from internal kernel tree to external kernel tree
2) LINUX_VERSION is not set according to the real Linux version present
in the external tree Makefile
3) there are patches (e.g: iptables layer7) which make some user-space
application failing to build
I had a patch for 1) but I am not happy with it, issue 2) is more
complex to solve because we need to know LINUX_VERSION early enough to
process all DEPENDS. 3) has been worked around for iptables at least by
checking explicitely for CONFIG_EXTERNAL_KERNEL_TREE.
--
Florian
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel