5 kx
5 kx
5 kx COMPONENT_TARGETS = $(TOOLCHAIN_ARM32_NEWLIB)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_A33XX_NEWLIB)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_A9XX_NEWLIB)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_H5_NEWLIB)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_S9XX_NEWLIB)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_RK33XX_NEWLIB)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_M1000_NEWLIB)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_AT91SAM7S_NEWLIB)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_RISCV64_NEWLIB)
5 kx
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_A1X_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_A2X_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_H3_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_H5_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_IMX6_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_IMX6ULL_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_JZ47XX_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_P5600_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_M1000_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_OMAP543X_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_AM335X_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_RK328X_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_S8XX_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_S9XX_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_A9XX_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_A311X_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_RK33XX_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_RK339X_GLIBC)
10 kx COMPONENT_TARGETS += $(TOOLCHAIN_RK358X_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_A33XX_GLIBC)
5 kx
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_POWER8_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_POWER9_GLIBC)
5 kx
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_POWER8LE_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_POWER9LE_GLIBC)
5 kx
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_RISCV64_GLIBC)
5 kx
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_I586_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_I686_GLIBC)
5 kx COMPONENT_TARGETS += $(TOOLCHAIN_X86_64_GLIBC)
5 kx
5 kx
5 kx include ../../../build-system/config.mk
5 kx
5 kx
5 kx SOURCE_REQUIRES = sources/GNU/binutils
5 kx
5 kx # ======= __END_OF_REQUIRES__ =======
5 kx
9 kx tar_xz_archive = $(SRC_PACKAGE_PATH)/GNU/binutils/binutils-2.40.tar.xz
5 kx SRC_ARCHIVE = $(tar_xz_archive)
9 kx SRC_DIR = $(TARGET_BUILD_DIR)/binutils-2.40
9 kx src_dir_name = binutils-2.40
5 kx src_done = $(SRC_DIR)/.source-done
5 kx
5 kx PATCHES = PATCHES
5 kx
5 kx build_dir = $(TARGET_BUILD_DIR)/build
5 kx install_dir = $(TOOLCHAIN_PATH)
5 kx
5 kx sysroot_dir = $(TOOLCHAIN_PATH)/$(TARGET)/sys-root
5 kx
5 kx build_target = $(TARGET_BUILD_DIR)/.built
5 kx install_target = $(TARGET_BUILD_DIR)/.installed
5 kx
5 kx
5 kx BUILD_TARGETS = $(build_target)
5 kx BUILD_TARGETS += $(install_target)
5 kx
5 kx include ../../../build-system/core.mk
5 kx
5 kx
5 kx ifeq ($(TOOLCHAIN),$(TOOLCHAIN_ARM32_NEWLIB))
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx extra_configure_switches += --disable-werror
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-abi=aapcs
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
5 kx endif
5 kx
5 kx ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A33XX_NEWLIB))
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx extra_configure_switches += --disable-werror
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-abi=aapcs
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
5 kx endif
5 kx
5 kx ifeq ($(TOOLCHAIN),$(TOOLCHAIN_A9XX_NEWLIB))
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx extra_configure_switches += --disable-werror
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-abi=aapcs
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
5 kx endif
5 kx
5 kx ifeq ($(TOOLCHAIN),$(TOOLCHAIN_H5_NEWLIB))
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx extra_configure_switches += --disable-multiarch
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a53
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
5 kx endif
5 kx
5 kx ifeq ($(TOOLCHAIN),$(TOOLCHAIN_S9XX_NEWLIB))
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx extra_configure_switches += --disable-multiarch
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a53
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
5 kx endif
5 kx
5 kx ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RK33XX_NEWLIB))
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx extra_configure_switches += --disable-multiarch
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a53
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
5 kx endif
5 kx
5 kx ifeq ($(TOOLCHAIN),$(TOOLCHAIN_M1000_NEWLIB))
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx extra_configure_switches += --disable-multiarch
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a57
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
5 kx endif
5 kx
5 kx ifeq ($(TOOLCHAIN),$(TOOLCHAIN_AT91SAM7S_NEWLIB))
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-float=soft
5 kx endif
5 kx
5 kx ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RISCV64_NEWLIB))
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-abi=lp64d
5 kx extra_configure_switches += --with-arch=rv64imafdc
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a8
5 kx extra_configure_switches += --with-arch=armv7-a
5 kx extra_configure_switches += --with-fpu=neon
5 kx extra_configure_switches += --with-abi=aapcs-linux
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A2X_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a7
5 kx extra_configure_switches += --with-arch=armv7ve
5 kx extra_configure_switches += --with-fpu=neon-vfpv4
5 kx extra_configure_switches += --with-abi=aapcs-linux
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H3_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-arch=armv7ve
5 kx extra_configure_switches += --with-tune=cortex-a7
5 kx extra_configure_switches += --with-fpu=neon-vfpv4
5 kx extra_configure_switches += --with-abi=aapcs-linux
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a53
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --with-fpu=neon-fp-armv8
5 kx extra_configure_switches += --with-abi=lp64
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S8XX_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a5
5 kx extra_configure_switches += --with-arch=armv7-a
5 kx extra_configure_switches += --with-fpu=neon
5 kx extra_configure_switches += --with-abi=aapcs-linux
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_S9XX_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a53
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --with-fpu=neon-fp-armv8
5 kx extra_configure_switches += --with-abi=lp64
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A9XX_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a53
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --with-fpu=neon-fp-armv8
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A311X_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a53
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --with-fpu=neon-fp-armv8
5 kx extra_configure_switches += --with-abi=lp64
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK33XX_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a53
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --with-fpu=neon-fp-armv8
5 kx extra_configure_switches += --with-abi=lp64
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK339X_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a53
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --with-fpu=neon-fp-armv8
5 kx extra_configure_switches += --with-abi=lp64
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
10 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK358X_GLIBC)),)
10 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
10 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
10 kx extra_configure_switches += --enable-gold=yes
10 kx extra_configure_switches += --enable-ld=default
10 kx extra_configure_switches += --enable-werror=no
10 kx # standard options:
10 kx extra_configure_switches += --disable-multilib
10 kx extra_configure_switches += --with-cpu=cortex-a75
18 kx extra_configure_switches += --with-arch=armv8.2-a
10 kx extra_configure_switches += --with-fpu=neon-fp-armv8
10 kx extra_configure_switches += --with-abi=lp64
10 kx extra_configure_switches += --disable-compressed-debug-sections
10 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
10 kx endif
10 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A33XX_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a53
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --with-fpu=neon-fp-armv8
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RK328X_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx extra_configure_switches += --enable-plugins
5 kx # standard options:
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a17
5 kx extra_configure_switches += --with-arch=armv7ve
5 kx extra_configure_switches += --with-fpu=neon-vfpv4
5 kx extra_configure_switches += --with-abi=aapcs-linux
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_IMX6_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-arch=armv7-a
5 kx extra_configure_switches += --with-tune=cortex-a9
5 kx extra_configure_switches += --with-fpu=vfpv3
5 kx extra_configure_switches += --with-abi=aapcs-linux
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_IMX6ULL_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-arch=armv7-a
5 kx extra_configure_switches += --with-cpu=cortex-a7
5 kx extra_configure_switches += --with-fpu=neon-vfpv4
5 kx extra_configure_switches += --with-abi=aapcs-linux
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_OMAP543X_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-arch=armv7ve
5 kx extra_configure_switches += --with-tune=cortex-a15
5 kx extra_configure_switches += --with-fpu=neon-vfpv4
5 kx extra_configure_switches += --with-abi=aapcs-linux
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_AM335X_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-interwork
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-arch=armv7-a
5 kx extra_configure_switches += --with-tune=cortex-a8
5 kx extra_configure_switches += --with-fpu=neon
5 kx extra_configure_switches += --with-abi=aapcs-linux
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-arch=mips32r2
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_P5600_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --with-arch=mips32r5
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_M1000_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --with-cpu=cortex-a57
5 kx extra_configure_switches += --with-arch=armv8-a
5 kx extra_configure_switches += --with-fpu=neon-fp-armv8
5 kx extra_configure_switches += --with-abi=lp64
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --enable-targets=ppc64-radix-linux,powerpc64-radix-linux,ppc64-linux,powerpc64-linux,ppc-radix-linux,powerpc-radix-linux,ppc-linux,powerpc-linux
5 kx extra_configure_switches += --enable-64-bit-bfd
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER9_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --enable-targets=ppc64-radix-linux,powerpc64-radix-linux,ppc64-linux,powerpc64-linux,ppc-radix-linux,powerpc-radix-linux,ppc-linux,powerpc-linux
5 kx extra_configure_switches += --enable-64-bit-bfd
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --enable-targets=ppc64le-radix-linux,powerpc64le-radix-linux,ppc64le-linux,powerpc64le-linux,ppcle-radix-linux,powerpcle-radix-linux,ppcle-linux,powerpcle-linux
5 kx extra_configure_switches += --enable-64-bit-bfd
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER9LE_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --enable-targets=ppc64le-radix-linux,powerpc64le-radix-linux,ppc64le-linux,powerpc64le-linux,ppcle-radix-linux,powerpcle-radix-linux,ppcle-linux,powerpcle-linux
5 kx extra_configure_switches += --enable-64-bit-bfd
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx
5 kx ifeq ($(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC))
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx # standard options:
5 kx extra_configure_switches += --enable-targets=riscv64-radix-linux,riscv64-linux
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --with-abi=lp64d
5 kx extra_configure_switches += --with-arch=rv64imafdc
5 kx extra_configure_switches += --enable-64-bit-bfd
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --enable-threads
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(TOOLCHAIN_PATH)/$(TARGET)
5 kx endif
5 kx
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-targets=i586-radix-linux
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --enable-initfini-array
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --enable-threads
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I686_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-targets=i686-radix-linux
5 kx extra_configure_switches += --disable-multilib
5 kx extra_configure_switches += --enable-initfini-array
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --enable-threads
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
5 kx extra_configure_switches = '--with-pkgversion=Radix $(TOOLCHAINS_VERSION)'
66 kx extra_configure_switches += '--with-bugurl=https://radix-linux.su'
5 kx # experimental gold linker( DEFAULT_LD=ld.bfd ):
5 kx extra_configure_switches += --enable-gold=yes
5 kx extra_configure_switches += --enable-ld=default
5 kx extra_configure_switches += --enable-werror=no
5 kx # standard options:
5 kx extra_configure_switches += --enable-targets=x86_64-radix-linux
5 kx extra_configure_switches += --enable-multilib
5 kx extra_configure_switches += --enable-64-bit-bfd
5 kx extra_configure_switches += --enable-initfini-array
5 kx extra_configure_switches += --enable-plugins
5 kx extra_configure_switches += --enable-threads
5 kx extra_configure_switches += --disable-compressed-debug-sections
5 kx extra_configure_switches += --with-sysroot=$(sysroot_dir)
5 kx endif
5 kx
5 kx
5 kx
5 kx $(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
5 kx $(UNPACK_SRC_ARCHIVE)
5 kx $(APPLY_PATCHES)
5 kx # ======= These pages were shipped empty and will need to be regenerated =======
5 kx @( cd $(SRC_DIR) ; \
5 kx rm -f binutils/doc/*.1 binutils/doc/*.man gprof/gprof.1 ld/ld.1 gas/doc/as.1 ; \
5 kx )
5 kx ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC)),)
5 kx # ======= On ppc64 and aarch64, we might use 64KiB pages =======
5 kx @( cd $(SRC_DIR) ; \
5 kx sed -i -e '/#define.*ELF_COMMONPAGESIZE/s/0x1000$/0x10000/' bfd/elf*ppc.c ; \
5 kx sed -i -e '/common_pagesize/s/4 /64 /' gold/powerpc.cc ; \
5 kx )
5 kx endif
5 kx @touch $@
5 kx
5 kx $(build_target): $(src_done)
5 kx @mkdir -p $(build_dir)
5 kx @cd $(build_dir) && ../$(src_dir_name)/configure \
5 kx --prefix=$(TOOLCHAIN_PATH) \
5 kx --target=$(TARGET) \
5 kx --infodir=$(TOOLCHAIN_PATH)/share/info \
5 kx --mandir=$(TOOLCHAIN_PATH)/share/man \
5 kx --disable-nls \
5 kx $(extra_configure_switches)
5 kx @$(MAKE) -C $(build_dir)
5 kx @$(MAKE) -C $(build_dir) info
5 kx @touch $@
5 kx
5 kx $(install_target): $(build_target)
5 kx @mkdir -p $(install_dir)
5 kx @$(MAKE) -j1 -C $(build_dir) install
5 kx @$(MAKE) -j1 -C $(build_dir) install-info
5 kx @rm -f $(TOOLCHAIN_PATH)/share/info/dir
5 kx @echo "" > $(TOOLCHAIN_PATH)/README
5 kx @echo " TOOLCHAIN = $(TOOLCHAIN)" >> $(TOOLCHAIN_PATH)/README
5 kx @echo " TARGET = $(TARGET)" >> $(TOOLCHAIN_PATH)/README
5 kx @echo " BASE_PATH = $(TOOLCHAINS_BASE_PATH)" >> $(TOOLCHAIN_PATH)/README
5 kx @echo " DIRECTORY = $(TOOLCHAIN_DIR)" >> $(TOOLCHAIN_PATH)/README
5 kx @echo " VERSION = $(TOOLCHAIN_VERSION)" >> $(TOOLCHAIN_PATH)/README
5 kx @echo "" >> $(TOOLCHAIN_PATH)/README
5 kx @echo "-----------" >> $(TOOLCHAIN_PATH)/README
5 kx @echo "" >> $(TOOLCHAIN_PATH)/README
5 kx @echo " $(subst $(TOP_BUILD_DIR_ABS)/,,$(CURDIR))$(if $(FLAVOUR),:$(FLAVOUR),)" >> $(TOOLCHAIN_PATH)/README
5 kx @touch $@