Messages in this thread Patch in this message | | | From | "Matthias Urlichs" <> | Date | Thu, 21 Oct 2004 14:38:55 +0200 | Subject | [PATCH] [2.6 current] Fix building with separate object directories |
| |
The kernel-supplied initramfs list needs to be copied to the build directory. Otherwise the generator won't find it.
Signed-off-by: Matthias Urlichs <smurf@smurf.noris.de>
===== usr/Makefile 1.12 vs edited ===== --- 1.12/usr/Makefile 2004-10-20 10:37:03 +02:00 +++ edited/usr/Makefile 2004-10-21 14:33:20 +02:00 @@ -29,12 +29,14 @@ if [ $(CONFIG_INITRAMFS_SOURCE) != $@ ]; then \ echo 'cp -f $(CONFIG_INITRAMFS_SOURCE) $@'; \ else \ - echo 'echo Using shipped $@'; \ + echo 'echo Using shipped $@; \ + cp -f $(srctree)/$@ $@'; \ fi; \ elif test -d $(CONFIG_INITRAMFS_SOURCE); then \ echo 'scripts/gen_initramfs_list.sh $(CONFIG_INITRAMFS_SOURCE) > $@'; \ else \ - echo 'echo Using shipped $@'; \ + echo 'echo Using shipped $@; \ + cp -f $(srctree)/$@ $@'; \ fi) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |