projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'u-boot-imx/master'
[oweals/u-boot.git]
/
tools
/
env
/
Makefile
diff --git
a/tools/env/Makefile
b/tools/env/Makefile
index 4927489b161cf5483da0d2d5dc55e0801246ca16..40164f7a35fa95340017e9a608a31702fa4a22b7 100644
(file)
--- a/
tools/env/Makefile
+++ b/
tools/env/Makefile
@@
-21,14
+21,16
@@
HOST_EXTRACFLAGS += -DMTD_OLD
endif
always := fw_printenv
endif
always := fw_printenv
-hostprogs-y := fw_printenv
_unstripped
+hostprogs-y := fw_printenv
-fw_printenv
_unstripped
-objs := fw_env.o fw_env_main.o \
+fw_printenv-objs := fw_env.o fw_env_main.o \
crc32.o ctype.o linux_string.o \
env_attr.o env_flags.o aes.o
crc32.o ctype.o linux_string.o \
env_attr.o env_flags.o aes.o
-quiet_cmd_
strip = STRIP $@
- cmd_
strip = $(STRIP) -o $@ $<
+quiet_cmd_
crosstools_strip = STRIP $^
+ cmd_
crosstools_strip = $(STRIP) $^; touch $@
-$(obj)/fw_printenv: $(obj)/fw_printenv_unstripped FORCE
- $(call if_changed,strip)
+$(obj)/.strip: $(obj)/fw_printenv
+ $(call cmd,crosstools_strip)
+
+always += .strip