summaryrefslogtreecommitdiffstats
path: root/rules/cross-gcc.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/cross-gcc.make')
-rw-r--r--rules/cross-gcc.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make
index 682aa16..9cb6b01 100644
--- a/rules/cross-gcc.make
+++ b/rules/cross-gcc.make
@@ -137,6 +137,10 @@ CROSS_GCC_CONF_OPT := \
# Install
# ----------------------------------------------------------------------------
+CROSS_GCC_INSTALL_OPT := \
+ DESTDIR=$(PTXCONF_DESTDIR) \
+ install
+
$(STATEDIR)/cross-gcc.install: $(STATEDIR)/cross-gcc.report
@$(call targetinfo)
@$(call world/install, CROSS_GCC)
@@ -172,6 +176,8 @@ $(STATEDIR)/cross-gcc.install: $(STATEDIR)/cross-gcc.report
done
@find $(PTXCONF_SYSROOT_CROSS) -name "*.la" -print0 | xargs -0 rm -v -f
+ sed -i -e 's;$(call remove_quotes,$(PTXCONF_DESTDIR));;' \
+ $(PTXCONF_SYSROOT_CROSS)/lib/gcc/$(PTXCONF_GNU_TARGET)/$(CROSS_GCC_VERSION)/install-tools/mkheaders.conf
@$(call touch)