From: Konrad Eisele <eiselekd@web.de>
To: kai@tp1.ruhr-uni-bochum.de
Cc: linux-kernel@vger.kernel.org
Subject: Customflags for cmd_objcopy
Date: Mon, 3 Feb 2003 17:05:49 +0100 [thread overview]
Message-ID: <200302031605.h13G5nO30068@mailgate5.cinetic.de> (raw)
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
next reply other threads:[~2003-02-03 15:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-03 16:05 Konrad Eisele [this message]
2003-02-03 21:31 ` Sam Ravnborg
2003-02-03 22:40 ` Kai Germaschewski
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=200302031605.h13G5nO30068@mailgate5.cinetic.de \
--to=eiselekd@web.de \
--cc=kai@tp1.ruhr-uni-bochum.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
all inboxes | Powered by JetHome®