Commit ffbea3cb authored by Andrey V.Kosteltsev's avatar Andrey V.Kosteltsev

Back merge modifications from toolchains-1.4.x

parent e6b9789c
# Target bin dirs
build-system/etc/
build-system/gnattools/
build-system/sbin/
# Build system config files
build-system/targets-config.mk
......@@ -9,31 +11,37 @@ build-system/targets-config.mk
.noarch/
.host/
.a1x-newlib/
.a2x-newlib/
.arm32-newlib/
.a33xx-newlib/
.a9xx-newlib/
.h5-newlib/
.s9xx-newlib/
.rk33xx-newlib/
.at91sam7s-newlib/
.lpc17xx-uclibc/
.a1x-glibc/
.a2x-glibc/
.a9xx-glibc/
.i686-glibc/
.h3-glibc/
.h5-glibc/
.imx6-glibc/
.jz47xx-glibc/
.omap543x-glibc/
.p5600-glibc/
.omap543x-glibc/
.rk328x-glibc/
.s8xx-glibc/
.s9xx-glibc/
.a9xx-glibc/
.rk33xx-glibc/
.rk339x-glibc/
.a33xx-glibc/
.power8-glibc/
.power8le-glibc/
.power9-glibc/
.power8le-glibc/
.power9le-glibc/
.r1000-glibc/
.rk328x-glibc/
.s8xx-glibc/
.s8xx-newlib/
.s9xx-glibc/
.s9xx-newlib/
.i686-glibc/
.x86_64-glibc/
# Hidden files (each file)
......
......@@ -61,6 +61,16 @@ HOST_PATH = $(TOOLCHAINS_BASE_PATH)/$(HOST_DIR)
####### Additional Available Toolchains:
#######
# All ARM 32-bit series with Newlib
TOOLCHAIN_ARM32_NEWLIB = arm32-newlib
ARM32_NEWLIB_ARCH = arm-none-eabi
ARM32_NEWLIB_DIR = arm-NONE-eabi-newlib
ARM32_NEWLIB_PATH = $(TOOLCHAINS_BASE_PATH)/$(ARM32_NEWLIB_DIR)
### |---Toolchain-spec-handy-ruler----------------|
ARM32_NEWLIB_SPEC = All ARM 32-bit series newlib toolchain
# AT91SAM7S
TOOLCHAIN_AT91SAM7S_NEWLIB = at91sam7s-newlib
......@@ -101,25 +111,6 @@ OMAP543X_GLIBC_PATH = $(TOOLCHAINS_BASE_PATH)/$(OMAP543X_GLIBC_DIR)
OMAP543X_GLIBC_SPEC = Texas OMAP543x GNU Libc toolchain
# AllWinner A10
TOOLCHAIN_A1X_NEWLIB = a1x-newlib
A1X_NEWLIB_ARCH = arm-a1x-eabi
A1X_NEWLIB_DIR = arm-A1X-eabi-newlib
A1X_NEWLIB_PATH = $(TOOLCHAINS_BASE_PATH)/$(A1X_NEWLIB_DIR)
### |---Toolchain-spec-handy-ruler----------------|
A1X_NEWLIB_SPEC = Allwinner A1x newlib toolchain
# AllWinner A20
TOOLCHAIN_A2X_NEWLIB = a2x-newlib
A2X_NEWLIB_ARCH = arm-a2x-eabi
A2X_NEWLIB_DIR = arm-A2X-eabi-newlib
A2X_NEWLIB_PATH = $(TOOLCHAINS_BASE_PATH)/$(A2X_NEWLIB_DIR)
### |---Toolchain-spec-handy-ruler----------------|
A2X_NEWLIB_SPEC = Allwinner A2x newlib toolchain
# AllWinner A10-GLIBC
TOOLCHAIN_A1X_GLIBC = a1x-glibc
......@@ -139,15 +130,6 @@ A2X_GLIBC_PATH = $(TOOLCHAINS_BASE_PATH)/$(A2X_GLIBC_DIR)
A2X_GLIBC_SPEC = Allwinner A2x GNU Libc toolchain
# AllWinner H3-NEWLIB
TOOLCHAIN_H3_NEWLIB = h3-newlib
H3_NEWLIB_ARCH = arm-h3-eabi
H3_NEWLIB_DIR = arm-H3-eabi-newlib
H3_NEWLIB_PATH = $(TOOLCHAINS_BASE_PATH)/$(H3_NEWLIB_DIR)
### |---Toolchain-spec-handy-ruler----------------|
H3_NEWLIB_SPEC = Allwinner H3 newlib toolchain
# AllWinner H3-GLIBC
TOOLCHAIN_H3_GLIBC = h3-glibc
......@@ -177,15 +159,6 @@ H5_GLIBC_PATH = $(TOOLCHAINS_BASE_PATH)/$(H5_GLIBC_DIR)
H5_GLIBC_SPEC = Allwinner H5 GNU Libc toolchain
# Amlogic S8XX
TOOLCHAIN_S8XX_NEWLIB = s8xx-newlib
S8XX_NEWLIB_ARCH = arm-s8xx-eabi
S8XX_NEWLIB_DIR = arm-S8XX-eabi-newlib
S8XX_NEWLIB_PATH = $(TOOLCHAINS_BASE_PATH)/$(S8XX_NEWLIB_DIR)
### |---Toolchain-spec-handy-ruler----------------|
S8XX_NEWLIB_SPEC = Amlogic S8xx newlib toolchain
# Amlogic S8XX-GLIBC
TOOLCHAIN_S8XX_GLIBC = s8xx-glibc
......@@ -260,6 +233,15 @@ RK33XX_GLIBC_PATH = $(TOOLCHAINS_BASE_PATH)/$(RK33XX_GLIBC_DIR)
### |---Toolchain-spec-handy-ruler----------------|
RK33XX_GLIBC_SPEC = Rockchip RK33xx GNU Libc toolchain
# Rockchip RK339X-GLIBC
TOOLCHAIN_RK339X_GLIBC = rk339x-glibc
RK339X_GLIBC_ARCH = aarch64-rk339x-linux-gnu
RK339X_GLIBC_DIR = aarch64-RK339X-linux-glibc
RK339X_GLIBC_PATH = $(TOOLCHAINS_BASE_PATH)/$(RK339X_GLIBC_DIR)
### |---Toolchain-spec-handy-ruler----------------|
RK339X_GLIBC_SPEC = Rockchip RK339x GNU Libc toolchain
# Rockchip A33XX-GLIBC
TOOLCHAIN_A33XX_GLIBC = a33xx-glibc
......
......@@ -3,30 +3,21 @@
BUILD_HOST = true
# a1x-newlib:
BUILD_A1X_NEWLIB = true
# arm-none-eabi-newlib:
BUILD_ARM32_NEWLIB = true
# a2x-newlib:
BUILD_A2X_NEWLIB = true
# a33xx-newlib:
BUILD_A33XX_NEWLIB = true
# h3-newlib:
BUILD_H3_NEWLIB = true
# a9xx-newlib:
BUILD_A9XX_NEWLIB = true
# h5-newlib:
BUILD_H5_NEWLIB = true
# s8xx-newlib:
BUILD_S8XX_NEWLIB = true
# a9xx-newlib:
BUILD_A9XX_NEWLIB = true
# s9xx-newlib:
BUILD_S9XX_NEWLIB = true
# a33xx-newlib:
BUILD_A33XX_NEWLIB = true
# rk33xx-newlib:
BUILD_RK33XX_NEWLIB = true
......@@ -50,6 +41,21 @@ BUILD_H3_GLIBC = true
# h5-glibc:
BUILD_H5_GLIBC = true
# imx6-glibc:
BUILD_IMX6_GLIBC = true
# jz47xx-glibc:
BUILD_JZ47XX_GLIBC = true
# p5600-glibc:
BUILD_P5600_GLIBC = true
# omap543x-glibc:
BUILD_OMAP543X_GLIBC = true
# rk328x-glibc:
BUILD_RK328X_GLIBC = true
# s8xx-glibc:
BUILD_S8XX_GLIBC = true
......@@ -62,24 +68,12 @@ BUILD_A9XX_GLIBC = true
# rk33xx-glibc:
BUILD_RK33XX_GLIBC = true
# rk339x-glibc:
BUILD_RK339X_GLIBC = true
# a33xx-glibc:
BUILD_A33XX_GLIBC = true
# rk328x-glibc:
BUILD_RK328X_GLIBC = true
# imx6-glibc:
BUILD_IMX6_GLIBC = true
# omap543x-glibc:
BUILD_OMAP543X_GLIBC = true
# jz47xx-glibc:
BUILD_JZ47XX_GLIBC = true
# p5600-glibc:
BUILD_P5600_GLIBC = true
# power8-glibc:
BUILD_POWER8_GLIBC = true
......
COMPONENT_TARGETS = $(TOOLCHAIN_A1X_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_A2X_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_H3_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_H5_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_S8XX_NEWLIB)
COMPONENT_TARGETS = $(TOOLCHAIN_ARM32_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_A33XX_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_A9XX_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_H5_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_S9XX_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_A33XX_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_RK33XX_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_AT91SAM7S_NEWLIB)
......@@ -26,6 +23,7 @@ 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)
......@@ -90,49 +88,24 @@ endif
include ../../../build-system/core.mk
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_NEWLIB))
extra_configure_switches = --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-cpu=cortex-a8
extra_configure_switches += --with-arch=armv7-a
extra_configure_switches += --with-fpu=neon
extra_configure_switches += --with-abi=aapcs
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_NEWLIB))
extra_configure_switches = --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-cpu=cortex-a7
extra_configure_switches += --with-arch=armv7ve
extra_configure_switches += --with-fpu=neon-vfpv4
extra_configure_switches += --with-abi=aapcs
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H3_NEWLIB))
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_ARM32_NEWLIB))
extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
extra_configure_switches += '--with-bugurl=https://radix.pro'
extra_configure_switches += --disable-werror
extra_configure_switches += --enable-interwork
extra_configure_switches += --enable-plugins
extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_NEWLIB))
extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
extra_configure_switches += '--with-bugurl=https://radix.pro'
extra_configure_switches += --enable-multiarch
extra_configure_switches += --disable-multilib
extra_configure_switches += --with-cpu=cortex-a53
extra_configure_switches += --with-arch=armv8-a
extra_configure_switches = --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-abi=aapcs
extra_configure_switches += --enable-plugins
extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_NEWLIB))
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A33XX_NEWLIB))
extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
extra_configure_switches += '--with-bugurl=https://radix.pro'
extra_configure_switches += --disable-werror
extra_configure_switches += --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-abi=aapcs
extra_configure_switches += --enable-plugins
extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
endif
......@@ -142,28 +115,30 @@ extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
extra_configure_switches += '--with-bugurl=https://radix.pro'
extra_configure_switches += --disable-werror
extra_configure_switches += --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-abi=aapcs
extra_configure_switches += --enable-plugins
extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_NEWLIB))
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_NEWLIB))
extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
extra_configure_switches += '--with-bugurl=https://radix.pro'
extra_configure_switches += --enable-multiarch
extra_configure_switches += --disable-multilib
extra_configure_switches += --disable-multiarch
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-cpu=cortex-a53
extra_configure_switches += --with-arch=armv8-a
extra_configure_switches += --enable-plugins
extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A33XX_NEWLIB))
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_NEWLIB))
extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
extra_configure_switches += '--with-bugurl=https://radix.pro'
extra_configure_switches += --disable-werror
extra_configure_switches += --enable-interwork
extra_configure_switches += --with-cpu=cortex-m0
extra_configure_switches += --with-arch=armv6-m
extra_configure_switches += --disable-multiarch
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-cpu=cortex-a53
extra_configure_switches += --with-arch=armv8-a
extra_configure_switches += --enable-plugins
extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
endif
......@@ -171,8 +146,8 @@ endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK33XX_NEWLIB))
extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
extra_configure_switches += '--with-bugurl=https://radix.pro'
extra_configure_switches += --enable-multiarch
extra_configure_switches += --disable-multilib
extra_configure_switches += --disable-multiarch
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-cpu=cortex-a53
extra_configure_switches += --with-arch=armv8-a
extra_configure_switches += --enable-plugins
......@@ -180,6 +155,8 @@ extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_AT91SAM7S_NEWLIB))
extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
extra_configure_switches += '--with-bugurl=https://radix.pro'
extra_configure_switches = --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-float=soft
......@@ -324,6 +301,22 @@ extra_configure_switches += --with-abi=lp64
extra_configure_switches += --with-sysroot=$(sysroot_dir)
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC)),)
extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
extra_configure_switches += '--with-bugurl=https://radix.pro'
# experimental gold linker( DEFAULT_LD=ld.bfd ):
extra_configure_switches += --enable-gold=yes
extra_configure_switches += --enable-ld=default
extra_configure_switches += --enable-werror=no
# standard options:
extra_configure_switches += --disable-multilib
extra_configure_switches += --with-cpu=cortex-a53
extra_configure_switches += --with-arch=armv8-a
extra_configure_switches += --with-fpu=neon-fp-armv8
extra_configure_switches += --with-abi=lp64
extra_configure_switches += --with-sysroot=$(sysroot_dir)
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A33XX_GLIBC)),)
extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
extra_configure_switches += '--with-bugurl=https://radix.pro'
......@@ -385,7 +378,7 @@ extra_configure_switches += --enable-werror=no
# standard options:
extra_configure_switches += --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-arch=armv7-a
extra_configure_switches += --with-arch=armv7ve
extra_configure_switches += --with-tune=cortex-a15
extra_configure_switches += --with-fpu=neon-vfpv4
extra_configure_switches += --with-abi=aapcs-linux
......
This diff is collapsed.
../../../sources/GNU/gcc/patches/gcc-7.3.0-armv8-m-cmse.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
......
../../../sources/GNU/gcc/patches/gcc-7.3.0-a1x-newlib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libstdc++-docs.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libtool-no-rpath.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-a2x-newlib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libstdc++-docs.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libtool-no-rpath.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-a33xx-multilib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-a33xx-newlib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-armv8-m-cmse.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
......
../../../sources/GNU/gcc/patches/gcc-7.3.0-a9xx-multilib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-a9xx-newlib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-armv8-m-cmse.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
......
../../../sources/GNU/gcc/patches/gcc-7.3.0-aarch64-multilib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-armv8-m-cmse.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
......
../../../sources/GNU/gcc/patches/gcc-7.3.0-at91sam7s-newlib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-armv8-m-cmse.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
......
../../../sources/GNU/gcc/patches/gcc-7.3.0-h3-multilib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libstdc++-docs.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libtool-no-rpath.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libstdc++-docs.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libtool-no-rpath.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libstdc++-docs.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libtool-no-rpath.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-lpc17xx-multilib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-armv8-m-cmse.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
......
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libstdc++-docs.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libtool-no-rpath.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-ppc64-multilib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-armv8-m-cmse.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
......
../../../sources/GNU/gcc/patches/gcc-7.3.0-ppc64le-multilib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-armv8-m-cmse.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
......
../../../sources/GNU/gcc/patches/gcc-7.3.0-s8xx-multilib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libstdc++-docs.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libtool-no-rpath.patch -p0
......@@ -2,6 +2,7 @@
../../../sources/GNU/gcc/patches/gcc-7.3.0-sparc-config.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-sparc64-multilib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-armv8-m-cmse.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
......
../../../sources/GNU/gcc/patches/gcc-7.3.0-x86_64-multilib.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-armv8-m-cmse.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-isl-0.20.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libgo-ustat.patch -p0
../../../sources/GNU/gcc/patches/gcc-7.3.0-libsanitizer-ustat.patch -p0
......
COMPONENT_TARGETS = $(TOOLCHAIN_A1X_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_A2X_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_H3_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_H5_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_S8XX_NEWLIB)
COMPONENT_TARGETS = $(TOOLCHAIN_ARM32_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_A33XX_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_A9XX_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_H5_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_S9XX_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_A33XX_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_RK33XX_NEWLIB)
COMPONENT_TARGETS += $(TOOLCHAIN_A1X_GLIBC)
......@@ -23,6 +20,7 @@ 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)
......@@ -69,78 +67,46 @@ include ../../../build-system/core.mk
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A1X_NEWLIB))
extra_configure_switches = --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --disable-libssp
extra_configure_switches += --with-arch=armv7-a
extra_configure_switches += --with-tune=cortex-a8
extra_configure_switches += --with-fpu=neon
extra_configure_switches += --with-abi=aapcs
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A2X_NEWLIB))
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_ARM32_NEWLIB))
extra_configure_switches = --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --disable-libssp
extra_configure_switches += --with-arch=armv7ve
extra_configure_switches += --with-tune=cortex-a7
extra_configure_switches += --with-fpu=neon-vfpv4
extra_configure_switches += --with-abi=aapcs
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H3_NEWLIB))
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A33XX_NEWLIB))
extra_configure_switches = --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --disable-libssp
extra_configure_switches += --with-arch=armv7-a
extra_configure_switches += --with-tune=cortex-a7
extra_configure_switches += --with-fpu=neon-vfpv4
extra_configure_switches += --with-arch=armv6-m
extra_configure_switches += --with-tune=cortex-m0
extra_configure_switches += --with-float=soft
extra_configure_switches += --with-abi=aapcs
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_NEWLIB))
extra_configure_switches = --enable-multiarch
extra_configure_switches += --disable-multilib
extra_configure_switches += --with-arch=armv8-a
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S8XX_NEWLIB))
extra_configure_switches = --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --disable-libssp
extra_configure_switches += --with-arch=armv7-a
extra_configure_switches += --with-fpu=vfpv4
extra_configure_switches += --with-float=hard
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A9XX_NEWLIB))
extra_configure_switches = --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --disable-libssp
extra_configure_switches += --with-arch=armv7-m
extra_configure_switches += --with-tune=cortex-m3
extra_configure_switches += --with-fpu=fpv4-sp-d16
extra_configure_switches += --with-float=hard
extra_configure_switches += --with-abi=aapcs
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_NEWLIB))
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_NEWLIB))
extra_configure_switches = --enable-multiarch
extra_configure_switches += --disable-multilib
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-arch=armv8-a
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A33XX_NEWLIB))
extra_configure_switches = --enable-interwork
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_NEWLIB))
extra_configure_switches = --enable-multiarch
extra_configure_switches += --enable-multilib
extra_configure_switches += --disable-libssp
extra_configure_switches += --with-arch=armv6-m
extra_configure_switches += --with-tune=cortex-m0
extra_configure_switches += --with-abi=aapcs
extra_configure_switches += --with-arch=armv8-a
endif
ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK33XX_NEWLIB))
extra_configure_switches = --enable-multiarch
extra_configure_switches += --disable-multilib
extra_configure_switches += --enable-multilib
extra_configure_switches += --with-arch=armv8-a
endif
......@@ -219,7 +185,7 @@ ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC)),)
extra_configure_switches = --enable-interwork
extra_configure_switches += --enable-multilib
extra_configure_switches += --disable-libssp
extra_configure_switches += --with-arch=armv7-a
extra_configure_switches += --with-arch=armv7ve
extra_configure_switches += --with-tune=cortex-a15
extra_configure_switches += --with-fpu=neon-vfpv4
extra_configure_switches += --with-abi=aapcs-linux
......@@ -273,6 +239,15 @@ extra_configure_switches += --with-abi=lp64
extra_configure_switches += --with-build-sysroot=$(sysroot_dir)
endif
ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC)),)
extra_configure_switches += --disable-multilib
extra_configure_switches += --with-arch=armv8-a
extra_configure_switches += --with-cpu=cortex-a53
extra_configure_switches += --with-fpu=neon-fp-armv8
extra_configure_switches += --with-abi=lp64
extra_configure_switches += --with-build-sysroot=$(sysroot_dir)
endif