[Buildroot] [git commit branch/2017.02.x] bzip2: fix passing of TARGET_MAKE_ENV to make
Peter Korsgaard
peter at korsgaard.com
Sun Oct 15 21:08:35 UTC 2017
commit: https://git.buildroot.net/buildroot/commit/?id=33156ba957fe8f6dd06081db1e5ed4afe580b881
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x
TARGET_MAKE_ENV is not passed to make because it is on a different
line without a backslash.
Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit 7690bc03358b7460aa138f785b3a5704b919882a)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/bzip2/bzip2.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/bzip2/bzip2.mk b/package/bzip2/bzip2.mk
index 0597ab9..e07b0ed 100644
--- a/package/bzip2/bzip2.mk
+++ b/package/bzip2/bzip2.mk
@@ -12,13 +12,13 @@ BZIP2_LICENSE_FILES = LICENSE
ifeq ($(BR2_STATIC_LIBS),)
define BZIP2_BUILD_SHARED_CMDS
- $(TARGET_MAKE_ENV)
+ $(TARGET_MAKE_ENV) \
$(MAKE) -C $(@D) -f Makefile-libbz2_so $(TARGET_CONFIGURE_OPTS)
endef
endif
define BZIP2_BUILD_CMDS
- $(TARGET_MAKE_ENV)
+ $(TARGET_MAKE_ENV) \
$(MAKE) -C $(@D) libbz2.a bzip2 bzip2recover $(TARGET_CONFIGURE_OPTS)
$(BZIP2_BUILD_SHARED_CMDS)
endef
More information about the buildroot
mailing list