]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
u-boot: remove seperate mkinit pass
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 10 Sep 2023 06:22:56 +0000 (06:22 +0000)
committerPeter Müller <peter.mueller@ipfire.org>
Wed, 22 Nov 2023 21:38:11 +0000 (21:38 +0000)
this is not needed anymore because the kernel is now build after
all other programs.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/rootfiles/common/aarch64/u-boot
config/rootfiles/common/aarch64/u-boot-mkimage [deleted file]
lfs/u-boot
make.sh

index a9b9ed435398893346844ff0d20431326afde2d2..241b19d3d57b3d0ff7111d0bee1e48af47f8ce8e 100644 (file)
@@ -5,6 +5,7 @@ boot/u-boot-rpi3.bin
 boot/u-boot-rpi4.bin
 boot/uEnv.txt
 boot/uboot.env
+usr/bin/mkimage
 #usr/share/u-boot
 #usr/share/u-boot/nanopi_r2c
 usr/share/u-boot/nanopi_r2c/u-boot-rockchip.bin
diff --git a/config/rootfiles/common/aarch64/u-boot-mkimage b/config/rootfiles/common/aarch64/u-boot-mkimage
deleted file mode 100644 (file)
index 80864b7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/bin/mkimage
index 2ad92df059f8f4d112645a4c405d27194e7a67f6..af4d6acd7daf4d6218b50ad5a376a2f4c1b78cf8 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2023  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        #
@@ -84,7 +84,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
 
-ifneq "$(MKIMAGE)" "1"
        # Raspberry Pi 3
        -mkdir -pv /usr/share/u-boot/rpi
        cd $(DIR_APP) && make CROSS_COMPILE="" rpi_3_config
@@ -93,6 +92,7 @@ ifneq "$(MKIMAGE)" "1"
        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) && install -v -m 755 tools/mkimage /usr/bin
        cd $(DIR_APP) && make distclean
 
        # Raspberry Pi 4
@@ -200,12 +200,5 @@ ifneq "$(MKIMAGE)" "1"
        # patch real Kernel version to uEnv.txt
        sed -e "s/xxxKVERxxx/$(KVER)/g" -i /boot/uEnv.txt
 
-else
-       # mkimage
-       cd $(DIR_APP) && make CROSS_COMPILE="" rpi_3_config
-       cd $(DIR_APP) && make CROSS_COMPILE="" HOSTCC="gcc $(CFLAGS)" tools
-       cd $(DIR_APP) && install -v -m 755 tools/mkimage /usr/bin
-endif
-
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)
diff --git a/make.sh b/make.sh
index d5d194cc8f99f015efde6ba8c5bbff25d720d122..a5390b788ac16d907f9807fbed210bc3c9584ae3 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -1114,7 +1114,6 @@ buildipfire() {
   lfsmake2 unzip
   lfsmake2 which
   lfsmake2 bc
-  lfsmake2 u-boot MKIMAGE=1
   lfsmake2 cpio
   lfsmake2 libaio
   lfsmake2 freetype