Skip to content

Commit 0c27717

Browse files
committed
Try to fix u-boot cross-build
1 parent 09f7e11 commit 0c27717

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/build-u-boot-rb1.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ log_i "Configuring U-Boot (${CONFIG})"
7070
make "${CONFIG}"
7171

7272
log_i "Building U-Boot (with device tree ${U_BOOT_DEVICE_TREE})"
73-
make -j`nproc` DEVICE_TREE="${U_BOOT_DEVICE_TREE}"
73+
make -j`nproc` \
74+
CROSS_COMPILE=aarch64-linux-gnu- DEVICE_TREE="${U_BOOT_DEVICE_TREE}"
7475

7576
log_i "Creating Android boot image (${ABOOT_OUTPUT})"
7677
gzip u-boot-nodtb.bin

0 commit comments

Comments
 (0)