mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
u-boot: remove seperate mkinit pass
this is not needed anymore because the kernel is now build after all other programs. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
a724c55b59
commit
ba1457912e
@@ -5,6 +5,7 @@ boot/u-boot-rpi3.bin
|
|||||||
boot/u-boot-rpi4.bin
|
boot/u-boot-rpi4.bin
|
||||||
boot/uEnv.txt
|
boot/uEnv.txt
|
||||||
boot/uboot.env
|
boot/uboot.env
|
||||||
|
usr/bin/mkimage
|
||||||
#usr/share/u-boot
|
#usr/share/u-boot
|
||||||
#usr/share/u-boot/nanopi_r2c
|
#usr/share/u-boot/nanopi_r2c
|
||||||
usr/share/u-boot/nanopi_r2c/u-boot-rockchip.bin
|
usr/share/u-boot/nanopi_r2c/u-boot-rockchip.bin
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
usr/bin/mkimage
|
|
||||||
11
lfs/u-boot
11
lfs/u-boot
@@ -1,7 +1,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# #
|
# #
|
||||||
# IPFire.org - A linux based firewall #
|
# 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 #
|
# 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 #
|
# it under the terms of the GNU General Public License as published by #
|
||||||
@@ -84,7 +84,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||||
|
|
||||||
ifneq "$(MKIMAGE)" "1"
|
|
||||||
# Raspberry Pi 3
|
# Raspberry Pi 3
|
||||||
-mkdir -pv /usr/share/u-boot/rpi
|
-mkdir -pv /usr/share/u-boot/rpi
|
||||||
cd $(DIR_APP) && make CROSS_COMPILE="" rpi_3_config
|
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 \
|
cd $(DIR_APP) && install -v -m 644 u-boot.bin \
|
||||||
/usr/share/u-boot/rpi/u-boot-rpi3.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 u-boot.bin /boot/u-boot-rpi3.bin
|
||||||
|
cd $(DIR_APP) && install -v -m 755 tools/mkimage /usr/bin
|
||||||
cd $(DIR_APP) && make distclean
|
cd $(DIR_APP) && make distclean
|
||||||
|
|
||||||
# Raspberry Pi 4
|
# Raspberry Pi 4
|
||||||
@@ -200,12 +200,5 @@ ifneq "$(MKIMAGE)" "1"
|
|||||||
# patch real Kernel version to uEnv.txt
|
# patch real Kernel version to uEnv.txt
|
||||||
sed -e "s/xxxKVERxxx/$(KVER)/g" -i /boot/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)
|
@rm -rf $(DIR_APP)
|
||||||
@$(POSTBUILD)
|
@$(POSTBUILD)
|
||||||
|
|||||||
Reference in New Issue
Block a user