mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Stein <alexander.stein@systec-electronic.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] $(KERNEL_PATH)/vmlinux should not depend on kernel.targetinstall
Date: Wed,  9 Nov 2011 16:16:52 +0100	[thread overview]
Message-ID: <1320851812-5969-1-git-send-email-alexander.stein@systec-electronic.com> (raw)

If PTXCONF_KERNEL_IMAGE_VMLINUX is set, KERNEL_IMAGE_PATH_y is set to
$(KERNEL_PATH)/vmlinux. This should not depend on kernel.targetinstall
because kernel.targetinstall will be newer than vmlinux and make tries
to recreate vmlinux and implicit removes the target file.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
---
 rules/post/image_kernel.make |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/rules/post/image_kernel.make b/rules/post/image_kernel.make
index 7ffeed6..6f1defe 100644
--- a/rules/post/image_kernel.make
+++ b/rules/post/image_kernel.make
@@ -23,7 +23,9 @@ $(STATEDIR)/image_kernel.compile: $(IMAGEDIR)/root.cpio
 		$(KERNEL_MAKEVARS) $(KERNEL_IMAGE)
 	@echo "done."
 
+ifndef PTXCONF_KERNEL_IMAGE_VMLINUX
 $(KERNEL_IMAGE_PATH_y): $(STATEDIR)/kernel.targetinstall
+endif
 
 $(IMAGEDIR)/linuximage: $(KERNEL_IMAGE_PATH_y)
 	@echo -n "Creating '$(notdir $(@))' from '$(notdir $(<))'..."
-- 
1.7.3.4


-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2011-11-09 15:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09 15:16 Alexander Stein [this message]
2011-11-13  9:48 ` Michael Olbrich
2012-01-26  9:57 ` Alexander Stein
2012-01-26 15:47   ` [ptxdist] [PATCH] linuximage: cleanup dependencies Michael Olbrich

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=1320851812-5969-1-git-send-email-alexander.stein@systec-electronic.com \
    --to=alexander.stein@systec-electronic.com \
    --cc=ptxdist@pengutronix.de \
    /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