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:
Michael Tremer
2023-02-07 11:01:29 +00:00
parent 0bc46effda
commit 39f94ee8eb
51 changed files with 19 additions and 62876 deletions

View File

@@ -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

View File

@@ -81,12 +81,6 @@ else
endif
endif
ifeq "$(BUILD_ARCH)" "armv6l"
EXTRA_CONFIG += \
--with-abi=aapcs-linux \
--with-float=softfp
endif
EXTRA_CONFIG += \
--disable-werror \
--enable-64-bit-bfd

View File

@@ -1,4 +1,4 @@
###############################################################################
##############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2020 IPFire Team <info@ipfire.org> #
@@ -70,7 +70,6 @@ $(subst %,%_BLAKE2,$(objects)) :
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/ccache/ccache-4.3-fix_armv6_bus_error.patch
cd $(DIR_APP) && mkdir -pv build
cd $(DIR_APP)/build && cmake \
-DCMAKE_INSTALL_PREFIX=$(TOOLS_DIR) \

View File

@@ -35,7 +35,6 @@ SHELL=/bin/bash -o pipefail
HAS_MEMTEST = 0
HAS_IPXE = 0
HAS_ISOLINUX = 0
HAS_KERNEL = 1
ifeq "$(BUILD_PLATFORM)" "x86"
HAS_MEMTEST = 1
@@ -43,10 +42,6 @@ ifeq "$(BUILD_PLATFORM)" "x86"
HAS_ISOLINUX = 1
endif
ifeq "$(BUILD_ARCH)" "armv6l"
HAS_KERNEL = 0
endif
ISO_ARGS = -J -r -v \
-A "$(NAME) $(VERSION) $(BUILD_ARCH)" \
-V "$(NAME) $(VERSION) $(BUILD_ARCH)"
@@ -181,10 +176,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
mkdir -p $(DIR_TMP)/cdrom/boot/isolinux
ifeq "$(HAS_KERNEL)" "1"
cp /boot/vmlinuz-$(KVER)-ipfire $(DIR_TMP)/cdrom/boot/isolinux/vmlinuz
dracut --force -a "installer" --strip $(DIR_TMP)/cdrom/boot/isolinux/instroot $(KVER)-ipfire
endif
ifeq "$(HAS_ISOLINUX)" "1"
dd if=/dev/zero bs=1k count=2 > $(DIR_TMP)/cdrom/boot/isolinux/boot.catalog

View File

@@ -40,10 +40,6 @@ DEPS = sdl2 lame libvorbis xvid
SERVICES =
ifeq "$(BUILD_ARCH)" "armv6l"
LDFLAGS += -latomic
endif
ifeq "$(BUILD_ARCH)" "riscv64"
LDFLAGS += -latomic
endif

View File

@@ -142,15 +142,6 @@ ifeq "$(EFI)" "1"
mount $(PART_EFI) $(MNThdd)/boot/efi
endif
# Install Pandaboard MLO and uboot first
ifeq "$(BUILD_ARCH)" "armv6l"
cp -v /boot/MLO $(MNThdd)/boot/
cp -v /boot/u-boot.img $(MNThdd)/boot/
sync
umount $(MNThdd)/boot
mount $(PART_BOOT) $(MNThdd)/boot
endif
# Install IPFire
ifneq "$(BUILD_PLATFORM)" "arm"
tar $(TAR_OPTIONS) -x --zstd -C $(MNThdd)/ -f $(DIR_TMP)/cdrom/distro.img
@@ -257,10 +248,6 @@ endif
# not copied to a block device)
dd if=/dev/zero bs=1M count=$(PADDING) >> $(IMG)
ifeq "$(BUILD_ARCH)" "armv6l"
# Install u-boot for Orangepi Zero/Nanopi DUO into image 8KB
dd if=/usr/share/u-boot/orangepi_zero/u-boot-sunxi-with-spl.bin of=$(IMG) bs=1K seek=8 conv=notrunc
endif
ifeq "$(BUILD_ARCH)" "aarch64"
# Install u-boot for NanoPi R2S into image 8KB
dd if=/usr/share/u-boot/nanopi_r2s/u-boot-rockchip.bin of=$(IMG) bs=1K seek=32 conv=notrunc

View File

@@ -35,7 +35,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = fmt
PAK_VER = 2
SUP_ARCH = aarch64 armv6l x86_64
SUP_ARCH = aarch64 x86_64
DEPS =

27
lfs/gcc
View File

@@ -50,14 +50,6 @@ endif
CXXFLAGS := $(CFLAGS)
ifeq "$(BUILD_ARCH)" "armv7hl"
FULL_BOOTSTRAP = 1
endif
ifeq "$(BUILD_ARCH)" "armv6l"
FULL_BOOTSTRAP = 1
endif
# Normal build or $(TOOLS_DIR) build.
#
ifeq "$(ROOT)" ""
@@ -121,18 +113,13 @@ ifeq "$(PASS)" "2"
--prefix=$(TOOLS_DIR) \
--with-local-prefix=$(TOOLS_DIR) \
--with-native-system-header-dir=$(TOOLS_DIR)/include \
--disable-bootstrap \
--enable-languages=c,c++ \
--disable-libstdcxx-pch \
--disable-multilib \
--disable-libgomp
EXTRA_MAKE =
EXTRA_INSTALL =
ifeq "$(FULL_BOOTSTRAP)" "1"
EXTRA_CONFIG += --enable-bootstrap
else
EXTRA_CONFIG += --disable-bootstrap
endif
else
# PASS=L # libstdc++-v3
TARGET = $(DIR_INFO)/$(THISAPP)-libstdc++
@@ -160,18 +147,6 @@ ifeq "$(BUILD_ARCH)" "aarch64"
--enable-standard-branch-protection
endif
ifeq "$(BUILD_ARCH)" "armv7hl"
EXTRA_CONFIG += \
--with-float=hard
endif
ifeq "$(BUILD_ARCH)" "armv6l"
EXTRA_CONFIG += \
--with-arch=armv6zk+fp \
--with-float=softfp
# --disable-sjlj-exceptions
endif
ifeq "$(BUILD_ARCH)" "riscv64"
EXTRA_CONFIG += \
--with-arch=rv64gc \

View File

@@ -120,11 +120,6 @@ ifneq "$(TOOLCHAIN)" "1"
cd $(DIR_APP) && sed -i 's|libs -o|libs -L/usr/lib64 -Wl,-dynamic-linker=/lib64/ld-linux-x86-64.so.2 -o|' \
scripts/test-installation.pl
endif
ifeq "$(BUILD_ARCH)" "armv6l"
cd $(DIR_APP) && sed -i 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=/lib/ld-linux.so.3 -o|' \
scripts/test-installation.pl
endif
endif
cd $(DIR_SRC)/glibc-build && \

View File

@@ -44,11 +44,6 @@ ifeq "$(BUILD_ARCH)" "aarch64"
KERNEL_TARGET = Image
endif
ifeq "$(BUILD_ARCH)" "armv6l"
KERNEL_ARCH = arm
KERNEL_TARGET = zImage
endif
ifeq "$(BUILD_ARCH)" "riscv64"
KERNEL_ARCH = riscv
KERNEL_TARGET = Image.gz
@@ -72,11 +67,12 @@ endif
###############################################################################
# Top-level Rules
###############################################################################
objects =$(DL_FILE) \
objects = \
$(DL_FILE) \
arm-multi-patches-$(ARM_PATCHES).patch.xz
$(DL_FILE) = $(URL_IPFIRE)/$(DL_FILE)
arm-multi-patches-$(ARM_PATCHES).patch.xz = $(URL_IPFIRE)/arm-multi-patches-$(ARM_PATCHES).patch.xz
$(DL_FILE)_BLAKE2 = 926c499eb3260e4358b8112785e7be74062aca54b4d5c21d2729efc81329ae168c461d32f54061d8db05a12cac45b63ca97b74084a8af8138f547c3a2fc2d947
arm-multi-patches-$(ARM_PATCHES).patch.xz_BLAKE2 = 3ef9a778c5c41ee8bf2942a48f63b21228a632a2910d2123f01155bbf571592898cffffa61c387a5a6c817b62e458947b4c406c6591b23b5401faa47b020337f
@@ -149,10 +145,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Fix pmc compile dependency errors
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux/linux-6.0.7-platform-x86-amd-Fix-pmc-compile-dependency-errors.patch
ifeq "$(BUILD_ARCH)" "armv6l"
# Apply Arm-multiarch kernel patches.
cd $(DIR_APP) && xzcat $(DIR_DL)/arm-multi-patches-$(ARM_PATCHES).patch.xz | patch -Np1
endif
ifeq "$(BUILD_ARCH)" "aarch64"
# Apply Arm-multiarch kernel patches.
cd $(DIR_APP) && xzcat $(DIR_DL)/arm-multi-patches-$(ARM_PATCHES).patch.xz | patch -Np1

View File

@@ -60,11 +60,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Create initramfs images
dracut --force --verbose --strip /boot/initramfs-$(KVER)-$(VERSUFIX).img $(KVER)-$(VERSUFIX)
ifeq "$(BUILD_ARCH)" "armv6l"
cd /boot && mkimage -A arm -T ramdisk -C lzma -d initramfs-$(KVER)-$(VERSUFIX).img uInit-$(KVER)-$(VERSUFIX)
cd /boot && rm initramfs-$(KVER)-$(VERSUFIX).img
endif
ifeq "$(BUILD_ARCH)" "aarch64"
cd /boot && mkimage -A arm64 -T ramdisk -C lzma -d initramfs-$(KVER)-$(VERSUFIX).img uInit-$(KVER)-$(VERSUFIX)
# dont remove initramfs because grub need this to boot.

View File

@@ -27,7 +27,7 @@ include Config
SUMMARY = Library and system call tracer for programs
VER = 0.7.3
SUP_ARCHES = x86_64 armv6l
SUP_ARCHES = x86_64
THISAPP = ltrace-$(VER)
DL_FILE = ltrace_$(VER).orig.tar.bz2

View File

@@ -35,7 +35,7 @@ DIR_APP = $(DIR_SRC)/${THISAPP}
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = mpd
PAK_VER = 29
SUP_ARCH = aarch64 armv6l x86_64
SUP_ARCH = aarch64 x86_64
DEPS = alsa avahi faad2 ffmpeg flac lame libmad libshout libogg libid3tag libvorbis opus soxr fmt

View File

@@ -52,11 +52,7 @@ CONFIGURE_OPTIONS = \
no-aria \
$(OPENSSL_ARCH)
ifeq "$(IS_64BIT)" "1"
OPENSSL_ARCH = linux-generic64
else
OPENSSL_ARCH = linux-generic32
endif
OPENSSL_ARCH = linux-generic64
ifeq "$(BUILD_ARCH)" "aarch64"
OPENSSL_ARCH = linux-aarch64

View File

@@ -30,7 +30,7 @@ DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
TARGET = $(DIR_INFO)/$(THISAPP)
SUP_ARCH = armv6l aarch64
SUP_ARCH = aarch64
###############################################################################
# Top-level Rules
@@ -71,9 +71,5 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@cd / && tar axf $(DIR_DL)/$(DL_FILE) --no-same-owner
cp -f $(DIR_SRC)/config/rpi-firmware/config.txt /boot
ifeq "${BUILD_ARCH}" "armv6l"
echo arm_64bit=0 >> /boot/config.txt
else
echo arm_64bit=1 >> /boot/config.txt
endif
@$(POSTBUILD)

View File

@@ -49,10 +49,7 @@ $(TARGET) :
@$(PREBUILD)
mkdir -pv $(TOOLS_DIR)/lib
ifeq "$(IS_64BIT)" "1"
ln -svf lib $(TOOLS_DIR)/lib64
endif
ifeq "$(BUILD_ARCH)" "riscv64"
ln -svf . $(TOOLS_DIR)/lib/lp64d

View File

@@ -64,10 +64,8 @@ $(TARGET) :
# Symlink /var/run -> /run.
ln -svf ../run /var/run
ifeq "$(IS_64BIT)" "1"
ln -svf lib /lib64
ln -svf lib /usr/lib64
endif
ifeq "$(BUILD_ARCH)" "riscv64"
ln -svf . /lib/lp64d

View File

@@ -27,7 +27,7 @@ include Config
SUMMARY = A utility to trace the system calls of a program
VER = 6.1
SUP_ARCHES = x86_64 armv6l aarch64
SUP_ARCHES = x86_64 aarch64
THISAPP = strace-$(VER)
DL_FILE = $(THISAPP).tar.xz

View File

@@ -31,7 +31,7 @@ DL_FILE = $(THISAPP).tar.bz2
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)-$(MKIMAGE)
SUP_ARCH = armv6l aarch64
SUP_ARCH = aarch64
CFLAGS := $(patsubst -fstack-protector-strong,,$(CFLAGS))
LDFLAGS += --no-warn-rwx-segments
@@ -85,88 +85,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
ifneq "$(MKIMAGE)" "1"
ifeq "${BUILD_ARCH}" "armv6l"
# Pandaboard
-mkdir -pv /usr/share/u-boot/pandaboard
cd $(DIR_APP) && make CROSS_COMPILE="" omap4_panda_config
cd $(DIR_APP) && sed -i -e 's!^CONFIG_IDENT_STRING=.*!CONFIG_IDENT_STRING=" Pandaboard - IPFire.org"!' .config
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)"
cd $(DIR_APP) && install -v -m 644 MLO u-boot.img \
/usr/share/u-boot/pandaboard
# Install pandaboard uboot as default
cd $(DIR_APP) && install MLO /boot/
cd $(DIR_APP) && install u-boot.img /boot/
cd $(DIR_APP) && make distclean
# Wandboard
-mkdir -pv /usr/share/u-boot/wandboard
cd $(DIR_APP) && make CROSS_COMPILE="" wandboard_config
cd $(DIR_APP) && sed -i -e 's!^CONFIG_IDENT_STRING=.*!CONFIG_IDENT_STRING=" Wandboard - IPFire.org"!' .config
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)"
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)" u-boot.imx
cd $(DIR_APP) && install -v -m 644 u-boot.imx \
/usr/share/u-boot/wandboard
cd $(DIR_APP) && make distclean
# Raspberry Pi
-mkdir -pv /usr/share/u-boot/rpi
cd $(DIR_APP) && make CROSS_COMPILE="" rpi_config
cd $(DIR_APP) && sed -i -e 's!^CONFIG_IDENT_STRING=.*!CONFIG_IDENT_STRING=" RPi1 - IPFire.org"!' .config
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)"
cd $(DIR_APP) && install -v -m 644 u-boot.bin \
/usr/share/u-boot/rpi/u-boot-rpi1.bin
cd $(DIR_APP) && install u-boot.bin /boot/u-boot-rpi1.bin
cd $(DIR_APP) && make distclean
# Raspberry Pi 2
-mkdir -pv /usr/share/u-boot/rpi
cd $(DIR_APP) && make CROSS_COMPILE="" rpi_2_config
cd $(DIR_APP) && sed -i -e 's!^CONFIG_IDENT_STRING=.*!CONFIG_IDENT_STRING=" RPi2 - IPFire.org"!' .config
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)"
cd $(DIR_APP) && install -v -m 644 u-boot.bin \
/usr/share/u-boot/rpi/u-boot-rpi2.bin
cd $(DIR_APP) && install u-boot.bin /boot/u-boot-rpi2.bin
cd $(DIR_APP) && make distclean
# Raspberry Pi 3 32bit
-mkdir -pv /usr/share/u-boot/rpi
cd $(DIR_APP) && make CROSS_COMPILE="" rpi_3_32b_config
cd $(DIR_APP) && sed -i -e 's!^CONFIG_IDENT_STRING=.*!CONFIG_IDENT_STRING=" RPi3 32bit - IPFire.org"!' .config
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)"
cd $(DIR_APP) && install -v -m 644 u-boot.bin \
/usr/share/u-boot/rpi/u-boot-rpi3.bin
cd $(DIR_APP) && install u-boot.bin /boot/u-boot-rpi3.bin
cd $(DIR_APP) && make distclean
# Orange Pi Zero
-mkdir -pv /usr/share/u-boot/orangepi_zero
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/u-boot/sunxi/orangepi-zero-add-macs.diff
cd $(DIR_APP) && make CROSS_COMPILE="" orangepi_zero_config
cd $(DIR_APP) && sed -i -e 's!^CONFIG_IDENT_STRING=.*!CONFIG_IDENT_STRING=" OrangePi Zero - IPFire.org"!' .config
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)"
cd $(DIR_APP) && install -v -m 644 u-boot-sunxi-with-spl.bin \
/usr/share/u-boot/orangepi_zero
cd $(DIR_APP) && make distclean
# Orange Pi PC
-mkdir -pv /usr/share/u-boot/orangepi_pc
cd $(DIR_APP) && make CROSS_COMPILE="" orangepi_pc_config
cd $(DIR_APP) && sed -i -e 's!^CONFIG_IDENT_STRING=.*!CONFIG_IDENT_STRING=" OrangePi PC - IPFire.org"!' .config
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)"
cd $(DIR_APP) && install -v -m 644 u-boot-sunxi-with-spl.bin \
/usr/share/u-boot/orangepi_pc
cd $(DIR_APP) && make distclean
# LeMaker Banana Pi
-mkdir -pv /usr/share/u-boot/banana_pi
cd $(DIR_APP) && make CROSS_COMPILE="" Bananapi_config
cd $(DIR_APP) && sed -i -e 's!^CONFIG_IDENT_STRING=.*!CONFIG_IDENT_STRING=" BananaPi - IPFire.org"!' .config
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)"
cd $(DIR_APP) && install -v -m 644 u-boot-sunxi-with-spl.bin \
/usr/share/u-boot/banana_pi
cd $(DIR_APP) && make distclean
else
# Raspberry Pi 3
-mkdir -pv /usr/share/u-boot/rpi
cd $(DIR_APP) && make CROSS_COMPILE="" rpi_3_config
@@ -234,7 +152,6 @@ else
/usr/share/u-boot/nanopi_r4s/u-boot-rockchip.bin
cd $(DIR_APP) && make distclean
endif
# create an empty 128 KB File for the u-boot env
dd if=/dev/zero of=/boot/uboot.env bs=1K count=128
@@ -248,11 +165,7 @@ endif
else
# mkimage
ifeq "${BUILD_ARCH}" "armv6l"
cd $(DIR_APP) && make CROSS_COMPILE="" omap4_panda_config
else
cd $(DIR_APP) && make CROSS_COMPILE="" rpi_3_config
endif
cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)" tools
cd $(DIR_APP) && install -v -m 755 tools/mkimage /usr/bin
endif

View File

@@ -1,80 +0,0 @@
###############################################################################
# #
# IPFire.org - A linux based firewall #
# 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 #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 5e8607b-nanopi-r1-binary
#
# This older and heavy patched u-boot cannot build without python2 so this
# copy the binary from core159
#
THISAPP = u-boot-friendlyarm-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/u-boot-$(VER)
TARGET = $(DIR_INFO)/$(THISAPP)
SUP_ARCH = armv6l
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = ed5377d064f6ecdf9972accfd35adf750e32a68ac885ed986bf81f20382224028ee7c54aa82f226e41b6025677a63f1080e7603eeb590f9c8551fa1d1b397245
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
dist:
@$(PAK)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) -C /usr/share/u-boot/
@$(POSTBUILD)

View File

@@ -35,7 +35,6 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)-kmod-$(KVER)-$(VERSUFIX)
#SUP_ARCH = armv6l
SUP_ARCH = none
###############################################################################