summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-05-15 18:13:42 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-06-22 07:53:36 +0200
commite9a2a84937d28b823c5cd87a7b6398750805d9a1 (patch)
tree941e241112df23bacfd117423db3b687bb4a6197
parent683930e9e075fe09a6afa6ce95b89080042b3a24 (diff)
downloadOSELAS.Toolchain-e9a2a84937d28b823c5cd87a7b6398750805d9a1.tar.gz
cross-gcc: remove BSP directory from builtin configure arguments
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/cross-gcc.make7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make
index 7be17bc..00da7a0 100644
--- a/rules/cross-gcc.make
+++ b/rules/cross-gcc.make
@@ -143,6 +143,13 @@ CROSS_GCC_CONF_OPT := \
\
$(if $(filter 3.%,$(CROSS_GCC_VERSION)),,--enable-checking=release)
+$(STATEDIR)/cross-gcc.prepare:
+ @$(call targetinfo)
+ @$(call world/prepare, CROSS_GCC)
+ sed -i -e '/TOPLEVEL_CONFIGURE_ARGUMENTS/s;$(PTXDIST_WORKSPACE);WORKSPACE;g' \
+ $(CROSS_GCC_BUILDDIR)/Makefile
+ @$(call touch)
+
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------