[PATCH] Makefile: drop duplicate definition of cmd_objcopy

Jan Luebbe jlu at pengutronix.de
Thu Apr 18 06:25:33 EDT 2013


This command is already defined in scripts/Makefile.lib, which is included
from Makefile.

Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
---
All defconfigs still build ok.

 Makefile | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Makefile b/Makefile
index 71f181c..ebfe8ca 100644
--- a/Makefile
+++ b/Makefile
@@ -667,9 +667,6 @@ define rule_barebox-modpost
 	$(Q)echo 'cmd_$@ := $(cmd_barebox-modpost)' > $(dot-target).cmd
 endef
 
-quiet_cmd_objcopy = OBJCOPY $@
-      cmd_objcopy = $(OBJCOPY) $(OBJCOPYFLAGS) $(OBJCOPYFLAGS_$(@F)) $< $@
-
 OBJCOPYFLAGS_barebox.bin = -O binary
 
 barebox.bin: barebox FORCE
-- 
1.8.2.rc2




More information about the barebox mailing list