diff options
author | Alexander Stein <alexander.stein@systec-electronic.com> | 2018-02-01 08:28:01 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-02-01 11:56:10 +0100 |
commit | dfd19f2946abbb86df9230c6ee7d03491b8199a7 (patch) | |
tree | 44a1eede86724030712eb0ca7270bf2ec441642b /rules/host-lz4.make | |
parent | 6d8c439125fb7894f2f76c0d21d2f8f2fede2a8c (diff) | |
download | ptxdist-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.make | 2 |
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 |