mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
linux-initrd: fix build of uInit on aarch64
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
#boot/uInit-KVER-ipfire
|
||||
boot/uInit-KVER-ipfire
|
||||
boot/initramfs-KVER-ipfire.img
|
||||
|
||||
@@ -71,13 +71,13 @@ ifeq "$(KCFG)" "-kirkwood"
|
||||
endif
|
||||
|
||||
ifeq "$(KCFG)" "-multi"
|
||||
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.
|
||||
else
|
||||
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.
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user