summaryrefslogtreecommitdiffstats
path: root/rules/post
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-10-24 23:21:50 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-11-20 11:52:17 +0100
commit2a21a0e4c219211bf8d6596740e1a4740d4f65ad (patch)
treeb3c10f0e3febadaf5e7aad671cdf789509131468 /rules/post
parent335bb61b7afa564e984a34b62bb008d329651523 (diff)
downloadptxdist-2a21a0e4c219211bf8d6596740e1a4740d4f65ad.tar.gz
ptxdist-2a21a0e4c219211bf8d6596740e1a4740d4f65ad.tar.xz
wrapper: introduce a wrapper for cc, c++, cpp and ld
This is used to inject compiler and linker options without relying on the build-systems to pass additional options to the tools. It is used for options needed for cross-compiling, hardening flags and other user defined options. The wrapper also calls ccache if ptxdist is configured to use it. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/post')
-rw-r--r--rules/post/ptxd_make_world_common.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/post/ptxd_make_world_common.make b/rules/post/ptxd_make_world_common.make
index 678db7dca..df37e51cc 100644
--- a/rules/post/ptxd_make_world_common.make
+++ b/rules/post/ptxd_make_world_common.make
@@ -75,6 +75,8 @@ world/env/impl = \
pkg_build_oot="$(call ptx/escape,$($(1)_BUILD_OOT))" \
pkg_build_dir="$(call ptx/escape,$($(1)_BUILD_DIR))" \
\
+ pkg_wrapper_blacklist="$(call ptx/escape,$($(1)_WRAPPER_BLACKLIST))" \
+ \
pkg_conf_tool="$(call ptx/escape,$($(1)_CONF_TOOL))" \
pkg_conf_env="$(call ptx/escape,$($(1)_CONF_ENV))" \
pkg_conf_opt="$(call ptx/escape,$($(1)_CONF_OPT))" \