mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Drop support for armv6l (and armv7hl)
This removes support for building IPFire for 32 bit ARM architectures. This has been decided in August 2022 with six months notice as there are not very many users and hardware is generally not available any more. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
31
lfs/Config
31
lfs/Config
@@ -58,37 +58,12 @@ PARALLELISM = $(shell echo $$( \
|
||||
|
||||
MAKETUNING = -j$(PARALLELISM)
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "aarch64"
|
||||
IS_64BIT = 1
|
||||
endif
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "armv7hl"
|
||||
IS_32BIT = 1
|
||||
endif
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "armv6l"
|
||||
IS_32BIT = 1
|
||||
endif
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "x86_64"
|
||||
IS_64BIT = 1
|
||||
endif
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "riscv64"
|
||||
IS_64BIT = 1
|
||||
endif
|
||||
|
||||
ifeq "$(TOOLCHAIN)" "1"
|
||||
PREFIX = $(TOOLS_DIR)
|
||||
else
|
||||
PREFIX = /usr
|
||||
endif
|
||||
|
||||
# Permit building with 32 bit time_t on 32 bit architectures
|
||||
ifeq "$(IS_32BIT)" "1"
|
||||
export TIME_T_32_BIT_OK = yes
|
||||
endif
|
||||
|
||||
TAR_OPTIONS = \
|
||||
--format=pax \
|
||||
--acls \
|
||||
@@ -163,11 +138,7 @@ else
|
||||
RUST_ARCH = $(BUILD_ARCH)
|
||||
endif
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "armv6l"
|
||||
RUST_PLATFORM = arm-unknown-linux-gnueabi
|
||||
else
|
||||
RUST_PLATFORM = $(RUST_ARCH)-unknown-linux-gnu
|
||||
endif
|
||||
RUST_PLATFORM = $(RUST_ARCH)-unknown-linux-gnu
|
||||
|
||||
CARGO_PATH = $(DIR_APP)/.cargo
|
||||
CARGO_REGISTRY = /usr/share/cargo/registry
|
||||
|
||||
Reference in New Issue
Block a user