Toolchains

Toolchains for all supported devices.

343 Commits   8 Branches   37 Tags   |
Index: chrpath/0.16/Makefile
===================================================================
--- chrpath/0.16/Makefile	(revision 257)
+++ chrpath/0.16/Makefile	(revision 258)
@@ -2,6 +2,8 @@
 
 COMPONENT_TARGETS  = $(TOOLCHAIN_A1X_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_A2X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_H3_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_H5_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_IMX6_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_JZ47XX_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_P5600_GLIBC)
@@ -10,6 +12,9 @@
 COMPONENT_TARGETS += $(TOOLCHAIN_S8XX_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_S9XX_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_A9XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_RK33XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_RK339X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_A33XX_GLIBC)
 
 COMPONENT_TARGETS += $(TOOLCHAIN_POWER8_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_POWER9_GLIBC)
@@ -28,7 +33,7 @@
 
 SOURCE_REQUIRES  = sources/tools/chrpath
 
-REQUIRES  = core/gcc/7.2.0^full
+REQUIRES  = core/gcc/7.3.0^full
 
 # ======= __END_OF_REQUIRES__ =======
 
@@ -70,5 +75,5 @@
 
 $(install_target): $(build_target)
 	@$(MAKE) -j1 -C $(build_dir) install docdir=$(TOOLCHAIN_PATH)/share/doc/$(src_dir_name)
-	@echo "$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/components.txt
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
 	@touch $@
Index: patchelf/0.10.1/Makefile
===================================================================
--- patchelf/0.10.1/Makefile	(nonexistent)
+++ patchelf/0.10.1/Makefile	(revision 258)
@@ -0,0 +1,83 @@
+
+
+COMPONENT_TARGETS  = $(TOOLCHAIN_A1X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_A2X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_H3_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_H5_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_IMX6_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_JZ47XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_P5600_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_OMAP543X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_RK328X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_S8XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_S9XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_A9XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_RK33XX_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_RK339X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_A33XX_GLIBC)
+
+COMPONENT_TARGETS += $(TOOLCHAIN_POWER8_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_POWER9_GLIBC)
+
+COMPONENT_TARGETS += $(TOOLCHAIN_POWER8LE_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_POWER9LE_GLIBC)
+
+COMPONENT_TARGETS += $(TOOLCHAIN_R1000_GLIBC)
+
+COMPONENT_TARGETS += $(TOOLCHAIN_I686_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_X86_64_GLIBC)
+
+
+include ../../../build-system/config.mk
+
+
+SOURCE_REQUIRES  = sources/tools/patchelf
+
+REQUIRES  = core/gcc/7.3.0^full
+
+# ======= __END_OF_REQUIRES__ =======
+
+tar_xz_archive   = $(SRC_PACKAGE_PATH)/tools/patchelf/patchelf-0.10.1.tar.xz
+SRC_ARCHIVE      = $(tar_xz_archive)
+SRC_DIR          = $(TARGET_BUILD_DIR)/patchelf-0.10.1
+src_dir_name     = patchelf-0.10.1
+src_done         = $(TARGET_BUILD_DIR)/.source-done
+
+PATCHES          = PATCHES
+
+build_dir        = $(TARGET_BUILD_DIR)/build
+
+build_target     = $(TARGET_BUILD_DIR)/.built
+install_target   = $(TARGET_BUILD_DIR)/.installed
+
+
+BUILD_TARGETS    = $(build_target)
+BUILD_TARGETS   += $(install_target)
+
+include ../../../build-system/core.mk
+
+
+$(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)       \
+	  --build=$(HOST)                  \
+	  --host=$(HOST)                   \
+	  --target=$(TARGET)               \
+	  --program-prefix=$(TARGET)-      \
+	  --datadir=$(TOOLCHAIN_PATH)/share                    \
+	  --docdir=$(TOOLCHAIN_PATH)/share/doc/$(src_dir_name) \
+	  --mandir=$(TOOLCHAIN_PATH)/share/man                 \
+	  $(extra_configure_switches)
+	@$(MAKE) -C $(build_dir) all
+	@touch $@
+
+$(install_target): $(build_target)
+	@$(MAKE) -j1 -C $(build_dir) install docdir=$(TOOLCHAIN_PATH)/share/doc/$(src_dir_name)
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
+	@touch $@
Index: patchelf/0.10.1/PATCHES
===================================================================
--- patchelf/0.10.1/PATCHES	(nonexistent)
+++ patchelf/0.10.1/PATCHES	(revision 258)
@@ -0,0 +1,2 @@
+
+../../../sources/tools/patchelf/patches/patchelf-0.10.1-check-endianness.patch -p0
Index: sunxi/sunxi-tools/1.3/Makefile
===================================================================
--- sunxi/sunxi-tools/1.3/Makefile	(revision 257)
+++ sunxi/sunxi-tools/1.3/Makefile	(revision 258)
@@ -6,14 +6,14 @@
 
 include ../../../../build-system/config.mk
 
-SOURCE_REQUIRES = sources/tools/allwinner/sunxi-tools-kx
+SOURCE_REQUIRES = sources/tools/allwinner/sunxi-tools
 
-REQUIRES  = core/gcc/7.2.0^full
+REQUIRES  = core/gcc/7.3.0^full
 
 # ======= __END_OF_REQUIRES__ =======
 
-tar_bz2_archive  = $(SRC_PACKAGE_PATH)/tools/allwinner/sunxi-tools-kx/sunxi-tools-1.3.tar.bz2
-SRC_ARCHIVE      = $(tar_bz2_archive)
+tar_xz_archive   = $(SRC_PACKAGE_PATH)/tools/allwinner/sunxi-tools/sunxi-tools-1.3.tar.xz
+SRC_ARCHIVE      = $(tar_xz_archive)
 SRC_DIR          = $(TARGET_BUILD_DIR)/sunxi-tools-1.3
 src_dir_name     = sunxi-tools-1.3
 src_done         = $(TARGET_BUILD_DIR)/.source-done
@@ -46,5 +46,5 @@
 
 $(install_target): $(build_target)
 	@cd $(build_dir) && make install
-	@echo "$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/components.txt
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
 	@touch $@
Index: u-boot/denx/2014.01/Makefile
===================================================================
--- u-boot/denx/2014.01/Makefile	(revision 257)
+++ u-boot/denx/2014.01/Makefile	(revision 258)
@@ -2,6 +2,7 @@
 
 COMPONENT_TARGETS  = $(TOOLCHAIN_A1X_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_A2X_GLIBC)
+COMPONENT_TARGETS += $(TOOLCHAIN_H3_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_IMX6_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_JZ47XX_GLIBC)
 COMPONENT_TARGETS += $(TOOLCHAIN_P5600_GLIBC)
@@ -15,7 +16,7 @@
 
 SOURCE_REQUIRES = sources/U-Boot/denx
 
-REQUIRES  = core/gcc/7.2.0^full
+REQUIRES  = core/gcc/7.3.0^full
 
 # ======= __END_OF_REQUIRES__ =======
 
@@ -57,5 +58,5 @@
 $(install_target): $(build_target)
 	@cp -a $(build_dir)/mkimage $(TOOLCHAIN_PATH)/bin/$(TARGET)-mkimage
 	@cp -a $(build_dir)/mkimage.1 $(TOOLCHAIN_PATH)/share/man/man1
-	@echo "$(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/components.txt
+	@echo "  $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
 	@touch $@