Add u-boot to make clean and make u-boot compilation multi-threaded
This commit is contained in:
parent
a4f71e8161
commit
139978fd98
1
Makefile
1
Makefile
@ -103,6 +103,7 @@ endif
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf build
|
||||
if [ -d "u-boot" ]; then (cd u-boot && make clean); fi
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: clean
|
||||
|
@ -30,5 +30,5 @@ run: asagiri.img
|
||||
uboot:
|
||||
git clone https://github.com/u-boot/u-boot.git --branch=v2023.10 --depth=1 2>/dev/null | true
|
||||
sed -i.bak '/panic("FDT and ATAGS support not compiled in\\n");/c\' u-boot/arch/arm/lib/bootm.c
|
||||
SOURCE_DATE_EPOCH=0 $(MAKE) -C u-boot rpi_3_defconfig ARCH=arm CROSS_COMPILE=aarch64-none-elf-
|
||||
SOURCE_DATE_EPOCH=0 $(MAKE) -C u-boot all ARCH=arm CROSS_COMPILE=aarch64-none-elf-
|
||||
SOURCE_DATE_EPOCH=0 $(MAKE) -j$(nproc) -C u-boot rpi_3_defconfig ARCH=arm CROSS_COMPILE=aarch64-none-elf-
|
||||
SOURCE_DATE_EPOCH=0 $(MAKE) -j$(nproc) -C u-boot all ARCH=arm CROSS_COMPILE=aarch64-none-elf-
|
||||
|
Loading…
x
Reference in New Issue
Block a user