From eef6f57485061a9df69c6fc7760e7fd39f7bfd8c 2017-01-25 12:22:55 From: drtyhlpr Date: 2017-01-25 12:22:55 Subject: [PATCH] Updated: Use all CPU cores for uboot (from michaelfranzl PR) --- diff --git a/bootstrap.d/41-uboot.sh b/bootstrap.d/41-uboot.sh index 5ee0c13..8b91002 100644 --- a/bootstrap.d/41-uboot.sh +++ b/bootstrap.d/41-uboot.sh @@ -17,7 +17,7 @@ if [ "$ENABLE_UBOOT" = true ] ; then git -C "${R}/tmp" clone "${UBOOT_URL}" # Build and install U-Boot inside chroot - chroot_exec make -C /tmp/u-boot/ ${UBOOT_CONFIG} all + chroot_exec make -j${KERNEL_THREADS} -C /tmp/u-boot/ ${UBOOT_CONFIG} all # Copy compiled bootloader binary and set config.txt to load it install_exec "${R}/tmp/u-boot/tools/mkimage" "${R}/usr/sbin/mkimage"