[Buildroot] [git commit branch/2017.08.x] bzip2: fix passing of TARGET_MAKE_ENV to make

Peter Korsgaard peter at korsgaard.com
Tue Oct 17 08:54:57 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=7f6052fc0d2eb3bc3aa87b7ad7b3a73c9676869d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.08.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 62571ed..e435330 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