uboot-tools: use $(TARGET_STRIP) for target utilities
authorCarlos Santos <casantos@datacom.ind.br>
Wed, 1 Jun 2016 14:39:39 +0000 (11:39 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Jun 2016 14:53:25 +0000 (16:53 +0200)
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>
package/uboot-tools/uboot-tools.mk

index 987e89b31d2e593810dde6a2e4a8e7dc72085a9f..a6aadeb15d58253f436d0031b639aac5d10b8667 100644 (file)
@@ -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