wip: build u-boot with Portage
This commit is contained in:
10
Makefile
10
Makefile
@@ -69,18 +69,10 @@ $(O)/efi-part/EFI/BOOT/BOOTAA64.efi: \
|
||||
|
||||
grub: $(O)/efi-part/EFI/BOOT/BOOTAA64.efi
|
||||
|
||||
$(O)/efi-part/u-boot.bin: \
|
||||
build-uboot.sh \
|
||||
u-boot.config
|
||||
./build-uboot.sh "$(O)"
|
||||
|
||||
uboot: $(O)/efi-part/u-boot.bin
|
||||
|
||||
$(IMAGESDIR)/sdcard.img: \
|
||||
genimage.cfg \
|
||||
genimage.sh \
|
||||
post-build.sh \
|
||||
$(O)/efi-part/u-boot.bin \
|
||||
$(O)/efi-part/EFI/BOOT/BOOTAA64.efi
|
||||
./post-build.sh "$(O)"
|
||||
./genimage.sh "$(O)" "$(IMAGESDIR)"
|
||||
@@ -98,7 +90,6 @@ $(IMAGESDIR)/update.tar.zstd: \
|
||||
./build-update.sh "$(IMAGESDIR)"
|
||||
|
||||
clean:
|
||||
git -C u-boot clean -fdx && git -C u-boot checkout -- .
|
||||
rm -rf $(O)/linux $(O)/output $(IMAGESDIR) $(O)/tmp
|
||||
rm -f $(O)/.prepared $(O)/.host-tools
|
||||
|
||||
@@ -109,5 +100,4 @@ clean:
|
||||
prepare \
|
||||
sdcard.img \
|
||||
squashfs \
|
||||
uboot \
|
||||
update.tar
|
||||
|
||||
Reference in New Issue
Block a user