diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -85,6 +85,8 @@ WINGCC_ROOTNAME = gcc WINGCC_INST_DIR = $(INST_BASE)/$(WINGCC_ROOTNAME) WINGCC_SYSROOT = $(INST_BASE)/$(WINGCC_ROOTNAME) +SIMPLE_ARCHIVE_NAMES = 0 + LANGUAGES = c,c++ SOURCE_PACKAGES = \ @@ -285,8 +287,13 @@ lingcc-gdb: lingcc-pack: rm -Rf $(INST_BASE)/gcc/share +ifneq ($(SIMPLE_ARCHIVE_NAMES),0) + cd $(INST_BASE) && \ + tar -zcf $(PWD)/gcc-suite-gcc-x86-linux64.tgz ./gcc +else cd $(INST_BASE) && \ tar -zcf $(PWD)/gcc-suite-$(VERSION_SUITE)-gcc-$(VERSION_GCC)-x86-linux64.tgz ./gcc +endif ############################################################################## @@ -595,8 +602,13 @@ xgcc-bzip2: xgcc-pack: rm -Rf $(XGCC_INST_DIR)/share +ifneq ($(SIMPLE_ARCHIVE_NAMES),0) + cd $(INST_BASE_LINUX) && \ + tar -zcf $(PWD)/gcc-suite-xgcc-x86-linux64.tgz ./mingw64 +else cd $(INST_BASE_LINUX) && \ tar -zcf $(PWD)/gcc-suite-$(VERSION_SUITE)-xgcc-$(VERSION_GCC)-$(VERSION_MINGW)-x86-linux64.tgz ./mingw64 +endif ############################################################################## # Nativ Multilib Windows Compiler (64 -Bit) @@ -928,8 +940,13 @@ wingcc-gdb: $(WINGCC_INST_DIR)/bin/$(XGCC_TARGET64)-gdbserver.exe wingcc-pack: rm -Rf $(WINGCC_INST_DIR)/share +ifneq ($(SIMPLE_ARCHIVE_NAMES),0) + cd $(INST_BASE) && \ + zip -qr $(PWD)/gcc-suite-gcc-x86-mingw64.zip ./$(WINGCC_ROOTNAME) +else cd $(INST_BASE) && \ zip -qr $(PWD)/gcc-suite-$(VERSION_SUITE)-gcc-$(VERSION_GCC)-$(VERSION_MINGW)-x86-mingw64.zip ./$(WINGCC_ROOTNAME) +endif # ---------------------------------------------------------------------------- # distribute: \ |