summaryrefslogtreecommitdiffstats
path: root/rules/host-lz4.make
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2018-02-01 08:28:01 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-02-01 11:56:10 +0100
commitdfd19f2946abbb86df9230c6ee7d03491b8199a7 (patch)
tree44a1eede86724030712eb0ca7270bf2ec441642b /rules/host-lz4.make
parent6d8c439125fb7894f2f76c0d21d2f8f2fede2a8c (diff)
downloadptxdist-dfd19f2946abbb86df9230c6ee7d03491b8199a7.tar.gz
ptxdist-dfd19f2946abbb86df9230c6ee7d03491b8199a7.tar.xz
host-lz4: Do not build a target binary
Using $(CROSS_ENV) results in a target binary, which is obviously wrong for a host tool. $ file platform-sdcard/sysroot-host/bin/lz4 platform-sdcard/sysroot-host/bin/lz4: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.0.0, with debug_info, not stripped Using the plain environment for building the host tool fixes this. Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-lz4.make')
-rw-r--r--rules/host-lz4.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/host-lz4.make b/rules/host-lz4.make
index 8c8ed4cd3..6fa9040f9 100644
--- a/rules/host-lz4.make
+++ b/rules/host-lz4.make
@@ -18,7 +18,7 @@ HOST_PACKAGES-$(PTXCONF_HOST_LZ4) += host-lz4
# ----------------------------------------------------------------------------
HOST_LZ4_CONF_TOOL := NO
-HOST_LZ4_MAKE_ENV := $(CROSS_ENV) PREFIX=
+HOST_LZ4_MAKE_ENV := PREFIX=
HOST_LZ4_MAKE_OPT := BUILD_STATIC=no lz4
HOST_LZ4_INSTALL_OPT := BUILD_STATIC=no install