summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Santos <casantos@datacom.ind.br>2016-06-01 11:39:39 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-01 16:53:25 +0200
commit6fcbb93180595d41be91433902063a73ad82b56e (patch)
tree4975c4c0c31dcd9a31a3c791d8fcdd6d68e371bf
parent86aa4d8d11cbe49d81ce0a054570d6e5d59f372e (diff)
downloadbuildroot-6fcbb93180595d41be91433902063a73ad82b56e.tar.gz
buildroot-6fcbb93180595d41be91433902063a73ad82b56e.zip
uboot-tools: use $(TARGET_STRIP) for target utilities
Otherwise BR2_STRIP_xxxx setup is ignored and they are always stripped. Signed-off-by: Carlos Santos <casantos@datacom.ind.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/uboot-tools/uboot-tools.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/uboot-tools/uboot-tools.mk b/package/uboot-tools/uboot-tools.mk
index 987e89b31d..a6aadeb15d 100644
--- a/package/uboot-tools/uboot-tools.mk
+++ b/package/uboot-tools/uboot-tools.mk
@@ -21,6 +21,7 @@ define UBOOT_TOOLS_BUILD_CMDS
CROSS_COMPILE="$(TARGET_CROSS)" \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
+ STRIP=$(TARGET_STRIP) \
CROSS_BUILD_TOOLS=y \
CONFIG_FIT_SIGNATURE=$(BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE_FIT_SIGNATURE_SUPPORT) \
tools-only
@@ -28,6 +29,7 @@ define UBOOT_TOOLS_BUILD_CMDS
CROSS_COMPILE="$(TARGET_CROSS)" \
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
+ STRIP=$(TARGET_STRIP) \
env no-dot-config-targets=env
endef
OpenPOWER on IntegriCloud