summaryrefslogtreecommitdiffstats
path: root/package/boost/boost.mk
diff options
context:
space:
mode:
authorUwe Kindler <uwe_kindler@web.de>2014-03-15 05:27:52 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-03-15 22:18:48 +0100
commitc94ff3cf353207de2864ccea869b95303ab66420 (patch)
tree7bb9b203026db0ba017bcecad000cf8e0c9227ef /package/boost/boost.mk
parent4b02c64a2f07e3ae0215262eb8af0c0a6ca5e979 (diff)
downloadbuildroot-c94ff3cf353207de2864ccea869b95303ab66420.tar.gz
buildroot-c94ff3cf353207de2864ccea869b95303ab66420.zip
Added support for configuration of boost binary names layout
[Peter: fix trailing whitescape / too long lines] Signed-off-by: Uwe Kindler <uwe_kindler@web.de> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/boost/boost.mk')
-rw-r--r--package/boost/boost.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 7aab6145a4..2ae8034156 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -81,6 +81,7 @@ endif
BOOST_WITHOUT_FLAGS_COMMASEPERATED += $(subst $(space),$(comma),$(strip $(BOOST_WITHOUT_FLAGS)))
BOOST_FLAGS += $(if $(BOOST_WITHOUT_FLAGS_COMMASEPERATED), --without-libraries=$(BOOST_WITHOUT_FLAGS_COMMASEPERATED))
+BOOST_LAYOUT = $(call qstrip, $(BR2_PACKAGE_BOOST_LAYOUT))
define BOOST_CONFIGURE_CMDS
(cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS))
@@ -99,7 +100,7 @@ define BOOST_INSTALL_TARGET_CMDS
--user-config=$(@D)/user-config.jam \
$(BOOST_OPT) \
--prefix=$(TARGET_DIR)/usr \
- --layout=system install )
+ --layout=$(BOOST_LAYOUT) install )
endef
define HOST_BOOST_BUILD_CMDS
@@ -114,7 +115,7 @@ define HOST_BOOST_INSTALL_CMDS
--user-config=$(@D)/user-config.jam \
$(HOST_BOOST_OPT) \
--prefix=$(HOST_DIR)/usr \
- --layout=system install )
+ --layout=$(BOOST_LAYOUT) install )
endef
define BOOST_INSTALL_STAGING_CMDS
@@ -122,7 +123,7 @@ define BOOST_INSTALL_STAGING_CMDS
--user-config=$(@D)/user-config.jam \
$(BOOST_OPT) \
--prefix=$(STAGING_DIR)/usr \
- --layout=system install)
+ --layout=$(BOOST_LAYOUT) install)
endef
$(eval $(generic-package))
OpenPOWER on IntegriCloud