diff options
author | Koenig, Joerg <Joerg.Koenig@techsat.com> | 2020-05-25 11:50:06 (GMT) |
---|---|---|
committer | Koenig, Joerg <Joerg.Koenig@techsat.com> | 2020-05-25 11:50:06 (GMT) |
commit | 72bbe30604bce235e5714e18620ed4580209ae65 (patch) | |
tree | 76cbaec5924b4a588af0531550d1a55253ea923f /Makefile | |
parent | 56da9f31440e9a66812c9006cacb067e8e7a367f (diff) | |
download | gcc-compiler-suite-72bbe30604bce235e5714e18620ed4580209ae65.zip gcc-compiler-suite-72bbe30604bce235e5714e18620ed4580209ae65.tar.gz gcc-compiler-suite-72bbe30604bce235e5714e18620ed4580209ae65.tar.bz2 |
Use INSTALLDIR as base install folder; used by TS_BasePkgsrefs/changes/20/11420/1
Change-Id: Ie4632f8ba4417e881f71cde143d9970467dd5602
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -60,7 +60,9 @@ INST_BASE = $(PWD)/inst.$(ARCH) SUITEDIR = /opt/dev-tools/gcc-suite -INST_BASE_LINUX = $(PWD)/inst.x86-linux64 +INSTALLDIR ?= $(TOP) + +INST_BASE_LINUX = $(INSTALLDIR)/inst.x86-linux64 XGCC_INST_DIR = $(INST_BASE_LINUX)/mingw64 XGCC_PREFIX = $(XGCC_TARGET64)- @@ -739,9 +741,8 @@ wingcc-finish: find $(WINGCC_INST_DIR) -type f -name "*.py" | xargs rm -f cd $(WINGCC_INST_DIR) && rm -Rf share cd $(WINGCC_INST_DIR) && rm -f mingw - # x86_64-w64-mingw32-gdb-add-index.exe is a script and causes strip to fail cd $(WINGCC_INST_DIR) ;\ - find . -type f -name "*.exe" | xargs $(XGCC_BINPATH)/$(XGCC_PREFIX)strip + find . -type f -name "*.exe" | xargs $(XGCC_BINPATH)/$(XGCC_PREFIX)strip; true # cp -f $(SOURCE_DIR)/mingw.gcc.specs \ $(WINGCC_INST_DIR)/lib/gcc/$(XGCC_TARGET64)/$(VERSION_GCC)/specs |