[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100311160326.bad1500e.sfr@canb.auug.org.au>
Date: Thu, 11 Mar 2010 16:03:26 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Michal Marek <mmarek@...e.cz>
Cc: linux-kbuild@...r.kernel.org, Eric Miao <eric.y.miao@...il.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] kbuild: Do not unnecessarily regenerate modules.builtin
Hi Michal,
On Mon, 8 Mar 2010 12:20:22 +0100 Michal Marek <mmarek@...e.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@...b.auug.org.au
http://www.canb.auug.org.au/~sfr/
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists