Messages in this thread | | | Date | Thu, 11 Mar 2010 16:03:26 +1100 | From | Stephen Rothwell <> | Subject | Re: [PATCH] kbuild: Do not unnecessarily regenerate modules.builtin |
| |
Hi Michal,
On Mon, 8 Mar 2010 12:20:22 +0100 Michal Marek <mmarek@suse.cz> wrote: > > Only regenerate it if the configuration has changed. Also, do this after > the modules build to fix errors with some weird Makefiles that are > generated during build.
This breaks a "make modules modules_install" type build:
$ rm -rf ../ntest.obj ../lib $ mkdir ../ntest.obj ../lib $ echo CONFIG_MODULES=y >../ntest.conf $ KCONFIG_ALLCONFIG=../ntest.conf make O=../ntest.obj allnoconfig . . $ make O=../ntest.obj INSTALL_MOD_PATH=../ -s modules modules_install cp: cannot stat `/home/sfr/kernels/ntest.obj/modules.builtin': No such file or directory
reverting that patch allows that build to work again.
Unfortunately, this breaks our test system which like to do
make zImage make modules make modules_install
The last step fails :-( -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |