* [PATCH] [2.6 current] Fix building with separate object directories
@ 2004-10-21 12:38 Matthias Urlichs
0 siblings, 0 replies; only message in thread
From: Matthias Urlichs @ 2004-10-21 12:38 UTC (permalink / raw)
To: linux-kernel
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-10-21 12:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-21 12:38 [PATCH] [2.6 current] Fix building with separate object directories Matthias Urlichs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox