[OpenWrt-Devel] toolchain kernel-headers
kenneth at southpole.se
Thu Nov 12 04:11:33 EST 2015
yes '' | $(KMAKE) oldconfig
Now this is run to configure the kernel so that we later can do make
with the headers_install target.
But is this really correct ?
what is happening here is that "make oldconfig" is at this point run
without any .config file present. what is then happening is that the
kernel makefile fetches the config for the currently running kernel on
the HOST and uses that as base config. well this is probably wrong ARCH
and probably a config for the wrong kernel version also. Is there a
reason a "make defconfig" can't be used ?
I had a kernel that did not allow answering yes on everything and thus
end in an infinite loop here and notice that this is a bit wrong/strange.
I guess that all that is needed at this stage is that the ARCH is
correct and we really do not care about the config.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel