public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Matthias Urlichs" <smurf@smurf.noris.de>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] [2.6 current] Fix building with separate object directories
Date: Thu, 21 Oct 2004 14:38:55 +0200	[thread overview]
Message-ID: <20041021123855.GA11161@kiste> (raw)

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)
 
 

                 reply	other threads:[~2004-10-21 12:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041021123855.GA11161@kiste \
    --to=smurf@smurf.noris.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox