###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2017 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2021 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
include Config
-VER = 2.30
+VER = 2.37
THISAPP = binutils-$(VER)
DL_FILE = $(THISAPP).tar.xz
CFLAGS := $(patsubst -mfloat-abi=%,,$(CFLAGS))
CFLAGS := $(patsubst -mindirect-branch=%,,$(CFLAGS))
CFLAGS := $(patsubst -mfunction-return=%,,$(CFLAGS))
+ CFLAGS := $(patsubst -fstack-clash-protection,,$(CFLAGS))
+ CFLAGS := $(patsubst -fcf-protection,,$(CFLAGS))
TARGET = $(DIR_INFO)/$(THISAPP)-tools1
EXTRA_CONFIG = \
--target=$(CROSSTARGET) \
--prefix=$(TOOLS_DIR) \
--with-sysroot=$(ROOT) \
- --with-lib-path=$(TOOLS_DIR)/lib
+ --with-lib-path=$(TOOLS_DIR)/lib \
+ --disable-nls
EXTRA_MAKE =
- EXTRA_INSTALL =
+ EXTRA_INSTALL =
else
TARGET = $(DIR_INFO)/$(THISAPP)-tools2
EXTRA_ENV = \
AR="$(CROSSTARGET)-ar" \
RANLIB="$(CROSSTARGET)-ranlib"
EXTRA_CONFIG = \
- --host=$(BUILDTARGET) \
--build=$(BUILDTARGET) \
+ --host=$(BUILDTARGET) \
--prefix=$(TOOLS_DIR) \
- --with-lib-path=$(TOOLS_DIR)/lib
- EXTRA_MAKE =
- EXTRA_INSTALL =
+ --with-lib-path=$(TOOLS_DIR)/lib \
+ --with-sysroot \
+ --disable-nls
+ EXTRA_MAKE =
+ EXTRA_INSTALL =
endif
endif
-ifeq "$(BUILD_ARCH)" "armv5tel"
+ifeq "$(BUILD_ARCH)" "armv6l"
EXTRA_CONFIG += \
--with-abi=aapcs-linux \
- --with-float=soft
+ --with-float=softfp
endif
EXTRA_CONFIG += \
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = ffc476dd46c96f932875d1b2e27e929f
+$(DL_FILE)_BLAKE2 = f5a374fdf0300f7734d1e462333296b16c9d5ed6eba167e1742a4da7082f4388c929e286bf76c3933b3e434937380340732a31790723654b491ea0c8ab5b9ba5
install : $(TARGET)
download :$(patsubst %,$(DIR_DL)/%,$(objects))
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
-$(subst %,%_MD5,$(objects)) :
- @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+ @$(B2SUM)
###############################################################################
# Installation Details