All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] SN makefile stuff
Date: Fri, 07 Mar 2003 07:02:45 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590709805997@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590709805992@msgid-missing>

On Thu, Mar 06, 2003 at 02:53:21PM -0800, Jesse Barnes wrote:

> > > +fakeprom: $(obj)/fakeprom $(obj)/vmlinux.sym
> > > +	cp $(obj)/fakeprom $(obj)/fprom
> > $(obj)/fprom is a target here.
> 
> I should probably just generate fprom directly instead of copying it,
> otherwise I should use $(src)/fprom?

Generating fakeprom is the preferred method.
Otherwise the above rule should look like this:
$(obj)/fakeprom: $(obj)/fprom $(obj)/vmlinux.sym
	cp $< $@


> > EXTRA_TARGETS := fprom fakeprom vmlinux.sym
> 
> Could that explain why the files in arch/ia64/sn/fakeprom get rebuilt
> everytime?

Missing the EXTRA_TARGETS may explain that.
That is used by kbuild to read the .fprom.cmd file - and to check if the
commandline changed. If it fails to read .fprom.cmd it obviously think
the commandline changed.

	Sam


  reply	other threads:[~2003-03-07  7:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-06 22:53 [Linux-ia64] SN makefile stuff Jesse Barnes
2003-03-07  7:02 ` Sam Ravnborg [this message]
2003-03-08  1:13 ` Jesse Barnes
2003-03-08  9:56 ` Sam Ravnborg
2003-03-08 16:52 ` Jesse Barnes
2003-03-08 21:29 ` Sam Ravnborg

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=marc-linux-ia64-105590709805997@msgid-missing \
    --to=sam@ravnborg.org \
    --cc=linux-ia64@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.