Simplify mkbootimg.mk: boot partition handled by mkimg_gpt.sh
Remove unused OPI_BOOT_OUT staging directory. Boot.img is now just the U-Boot binary for build system packaging. The actual FAT32 boot partition with kernel/DTB/ramdisk is created by mkimg_gpt.sh, which runs outside the build system and has access to mkfs.vfat and mcopy. Copyright (C) 2026 Brendan Szymanski <hello@bscubed.dev>
This commit is contained in:
parent
ff2a4813ba
commit
f1ecf8e92c
1 changed files with 1 additions and 14 deletions
15
mkbootimg.mk
15
mkbootimg.mk
|
|
@ -10,20 +10,7 @@ KERNEL_PATH := device/rockchip/orangepi5ultra-kernel
|
|||
|
||||
INSTALLED_BOOTIMAGE_TARGET := $(PRODUCT_OUT)/boot.img
|
||||
|
||||
OPI_BOOT_OUT := $(PRODUCT_OUT)/opiboot
|
||||
$(OPI_BOOT_OUT): $(PRODUCT_OUT)/ramdisk.img
|
||||
mkdir -p $(OPI_BOOT_OUT)
|
||||
cp $(KERNEL_PATH)/Image $(OPI_BOOT_OUT)
|
||||
cp $(KERNEL_PATH)/rk3588-orangepi-5-ultra.dtb $(OPI_BOOT_OUT)
|
||||
cp $(KERNEL_PATH)/android-sdcard.dtbo $(OPI_BOOT_OUT)
|
||||
cp $(KERNEL_PATH)/boot.scr $(OPI_BOOT_OUT)
|
||||
cp $(KERNEL_PATH)/uRamdisk $(OPI_BOOT_OUT)
|
||||
cp $(KERNEL_PATH)/uRecovery $(OPI_BOOT_OUT)
|
||||
cp $(PRODUCT_OUT)/ramdisk.img $(OPI_BOOT_OUT)
|
||||
cp $(KERNEL_PATH)/config.txt $(OPI_BOOT_OUT)
|
||||
|
||||
|
||||
$(INSTALLED_BOOTIMAGE_TARGET): $(OPI_BOOT_OUT)
|
||||
$(INSTALLED_BOOTIMAGE_TARGET):
|
||||
$(call pretty,"Target boot image: $@")
|
||||
cp $(KERNEL_PATH)/u-boot-rockchip.bin $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue