* Customflags for cmd_objcopy
@ 2003-02-03 16:05 Konrad Eisele
2003-02-03 21:31 ` Sam Ravnborg
2003-02-03 22:40 ` Kai Germaschewski
0 siblings, 2 replies; 3+ messages in thread
From: Konrad Eisele @ 2003-02-03 16:05 UTC (permalink / raw)
To: kai; +Cc: linux-kernel
like with cmd_ld in scripts/Makefile.lib having possibility to add
customflags with cmk_objcopy would be nice. When building a ROMKernel
I'd like to use:
OBJCOPYFLAGS_rompiggydata := --remove-section=.text
OBJCOPYFLAGS_$(MODEL)piggytext := --only-section=.text
Currently I have to define my own cmd.
Konrad
--- linux-2.5.59/scripts/Makefile.lib Fri Jan 17 03:22:09 2003
+++ linux-2.5.59-leon01/scripts/Makefile.lib Mon Feb 3 16:56:04 2003
@@ -173,7 +173,7 @@
# ---------------------------------------------------------------------------
quiet_cmd_objcopy = OBJCOPY $@
-cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $< $@
+cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@
# Gzip
# ---------------------------------------------------------------------------
______________________________________________________________________________
Werden Sie kreativ! Bei WEB.DE FreeMail heisst es jetzt nicht nur schreiben,
sondern auch gestalten. http://freemail.web.de/features/?mc=021142
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Customflags for cmd_objcopy
2003-02-03 16:05 Customflags for cmd_objcopy Konrad Eisele
@ 2003-02-03 21:31 ` Sam Ravnborg
2003-02-03 22:40 ` Kai Germaschewski
1 sibling, 0 replies; 3+ messages in thread
From: Sam Ravnborg @ 2003-02-03 21:31 UTC (permalink / raw)
To: Konrad Eisele; +Cc: kai, linux-kernel
On Mon, Feb 03, 2003 at 05:05:49PM +0100, Konrad Eisele wrote:
> like with cmd_ld in scripts/Makefile.lib having possibility to add
> customflags with cmk_objcopy would be nice. When building a ROMKernel
> I'd like to use:
> OBJCOPYFLAGS_rompiggydata := --remove-section=.text
> OBJCOPYFLAGS_$(MODEL)piggytext := --only-section=.text
Looks good to me.
Sam
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Customflags for cmd_objcopy
2003-02-03 16:05 Customflags for cmd_objcopy Konrad Eisele
2003-02-03 21:31 ` Sam Ravnborg
@ 2003-02-03 22:40 ` Kai Germaschewski
1 sibling, 0 replies; 3+ messages in thread
From: Kai Germaschewski @ 2003-02-03 22:40 UTC (permalink / raw)
To: Konrad Eisele; +Cc: linux-kernel
On Mon, 3 Feb 2003, Konrad Eisele wrote:
> like with cmd_ld in scripts/Makefile.lib having possibility to add
> customflags with cmk_objcopy would be nice. When building a ROMKernel
> I'd like to use:
> OBJCOPYFLAGS_rompiggydata := --remove-section=.text
> OBJCOPYFLAGS_$(MODEL)piggytext := --only-section=.text
Makes sense. Could you send your $(if_changed ) thing as patch, too? And
possibly for all if_changed_*? (Privately will do)
--Kai
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-03 22:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-03 16:05 Customflags for cmd_objcopy Konrad Eisele
2003-02-03 21:31 ` Sam Ravnborg
2003-02-03 22:40 ` Kai Germaschewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®