lkml.org 
[lkml]   [2003]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectCustomflags for cmd_objcopy
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.041 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site