summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
# ----------------------------------------------------------------------------