ARC Toolchains

Synopsys ARC GNU Toolchains.

59 Commits   0 Branches   17 Tags   |
Index: 2018.09.12/Makefile
===================================================================
--- 2018.09.12/Makefile	(revision 22)
+++ 2018.09.12/Makefile	(nonexistent)
@@ -1,73 +0,0 @@
-
-
-COMPONENT_TARGETS  = $(TOOLCHAIN_S8XX_NEWLIB)
-
-
-include ../../../build-system/config.mk
-
-
-SOURCE_REQUIRES = sources/binutils
-
-REQUIRES  = core/gcc/2018.09.12^full
-
-# ======= __END_OF_REQUIRES__ =======
-
-tar_xz_archive   = $(SRC_PACKAGE_PATH)/binutils/binutils-gdb-arc-2018.09.12.tar.xz
-SRC_ARCHIVE      = $(tar_xz_archive)
-SRC_DIR          = $(TARGET_BUILD_DIR)/binutils-gdb-arc-2018.09.12
-src_dir_name     = binutils-gdb-arc-2018.09.12
-src_done         = $(SRC_DIR)/.source-done
-
-PATCHES       = PATCHES
-
-build_dir        = $(TARGET_BUILD_DIR)/build
-
-build_target     = $(TARGET_BUILD_DIR)/.built
-install_target   = $(TARGET_BUILD_DIR)/.installed
-
-environment  = PATH=$(TOOLCHAIN_PATH)/bin:$(PATH)
-
-
-BUILD_TARGETS  = $(build_target)
-BUILD_TARGETS += $(install_target)
-
-include ../../../build-system/core.mk
-
-
-
-ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_NEWLIB))
-extra_configure_switches  = --with-cpu=arcem
-extra_configure_switches += --with-endian=little
-extra_configure_switches += --disable-multilib
-extra_configure_switches += --disable-werror
-extra_configure_switches += --enable-languages=c,c++
-endif
-
-
-$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
-	$(UNPACK_SRC_ARCHIVE)
-	$(APPLY_PATCHES)
-	@touch $@
-
-$(build_target): $(src_done)
-	@mkdir -p $(build_dir)
-	@cd $(build_dir) && $(environment) ../$(src_dir_name)/configure \
-	  --prefix=$(TOOLCHAIN_PATH)              \
-	  --target=$(TARGET)                      \
-	  --datadir=$(TOOLCHAIN_PATH)/share       \
-	  --infodir=$(TOOLCHAIN_PATH)/share/info  \
-	  --mandir=$(TOOLCHAIN_PATH)/share/man    \
-	  $(extra_configure_switches)
-	@$(MAKE) $(environment) -C $(build_dir) all-{gdb,sim}
-	@touch $@
-
-$(install_target): $(build_target)
-	@$(MAKE) $(environment) -j1 -C $(build_dir) install-{gdb,sim}
-	@( version_string="`cat $(SRC_DIR)/gdb/version.in | cut -f1,2,3 -d'.'`" ; \
-	   if [ -n "$${version_string}" ] ; then \
-	     echo "  gdb-$${version_string}" >> $(TOOLCHAIN_PATH)/README ; \
-	   else \
-	     echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README ; \
-	   fi ; \
-	 )
-	@touch $@
Index: 2020.03.18/Makefile
===================================================================
--- 2020.03.18/Makefile	(nonexistent)
+++ 2020.03.18/Makefile	(revision 23)
@@ -0,0 +1,73 @@
+
+
+COMPONENT_TARGETS  = $(TOOLCHAIN_S8XX_NEWLIB)
+
+
+include ../../../build-system/config.mk
+
+
+SOURCE_REQUIRES = sources/binutils
+
+REQUIRES  = core/gcc/2020.03.16^full
+
+# ======= __END_OF_REQUIRES__ =======
+
+tar_xz_archive   = $(SRC_PACKAGE_PATH)/binutils/binutils-gdb-arc-2020.03.18.tar.xz
+SRC_ARCHIVE      = $(tar_xz_archive)
+SRC_DIR          = $(TARGET_BUILD_DIR)/binutils-gdb-arc-2020.03.18
+src_dir_name     = binutils-gdb-arc-2020.03.18
+src_done         = $(SRC_DIR)/.source-done
+
+PATCHES       = PATCHES
+
+build_dir        = $(TARGET_BUILD_DIR)/build
+
+build_target     = $(TARGET_BUILD_DIR)/.built
+install_target   = $(TARGET_BUILD_DIR)/.installed
+
+environment  = PATH=$(TOOLCHAIN_PATH)/bin:$(PATH)
+
+
+BUILD_TARGETS  = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+include ../../../build-system/core.mk
+
+
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_NEWLIB))
+extra_configure_switches  = --with-cpu=arcem
+extra_configure_switches += --with-endian=little
+extra_configure_switches += --disable-multilib
+extra_configure_switches += --disable-werror
+extra_configure_switches += --enable-languages=c,c++
+endif
+
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+	$(UNPACK_SRC_ARCHIVE)
+	$(APPLY_PATCHES)
+	@touch $@
+
+$(build_target): $(src_done)
+	@mkdir -p $(build_dir)
+	@cd $(build_dir) && $(environment) ../$(src_dir_name)/configure \
+	  --prefix=$(TOOLCHAIN_PATH)              \
+	  --target=$(TARGET)                      \
+	  --datadir=$(TOOLCHAIN_PATH)/share       \
+	  --infodir=$(TOOLCHAIN_PATH)/share/info  \
+	  --mandir=$(TOOLCHAIN_PATH)/share/man    \
+	  $(extra_configure_switches)
+	@$(MAKE) $(environment) -C $(build_dir) all-{gdb,sim}
+	@touch $@
+
+$(install_target): $(build_target)
+	@$(MAKE) $(environment) -j1 -C $(build_dir) install-{gdb,sim}
+	@( version_string="`cat $(SRC_DIR)/gdb/version.in | cut -f1,2,3 -d'.'`" ; \
+	   if [ -n "$${version_string}" ] ; then \
+	     echo "  gdb-$${version_string}" >> $(TOOLCHAIN_PATH)/README ; \
+	   else \
+	     echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README ; \
+	   fi ; \
+	 )
+	@touch $@
Index: 2020.03.18/PATCHES
===================================================================