@@ -52,6 +52,7 if [ "$ENABLE_UBOOT" = true ] ; then | |||||
52 |
|
52 | |||
53 | # Configure U-Boot to load generated initramfs |
|
53 | # Configure U-Boot to load generated initramfs | |
54 | printf "# Set initramfs file\nsetenv initramfs initramfs-${KERNEL_VERSION}.uboot\n\n$(cat ${BOOT_DIR}/uboot.mkimage)" > "${BOOT_DIR}/uboot.mkimage" |
|
54 | printf "# Set initramfs file\nsetenv initramfs initramfs-${KERNEL_VERSION}.uboot\n\n$(cat ${BOOT_DIR}/uboot.mkimage)" > "${BOOT_DIR}/uboot.mkimage" | |
|
55 | printf "\nbootz \${kernel_addr_r} \${ramdisk_addr_r} \${fdt_addr_r}" >> "${BOOT_DIR}/uboot.mkimage" | |||
55 | else # ENABLE_INITRAMFS=false |
|
56 | else # ENABLE_INITRAMFS=false | |
56 | # Remove initramfs from U-Boot mkfile |
|
57 | # Remove initramfs from U-Boot mkfile | |
57 | sed -i '/.*initramfs.*/d' "${BOOT_DIR}/uboot.mkimage" |
|
58 | sed -i '/.*initramfs.*/d' "${BOOT_DIR}/uboot.mkimage" |
@@ -335,7 +335,7 fi | |||||
335 |
|
335 | |||
336 | # Add libncurses5 to enable kernel menuconfig |
|
336 | # Add libncurses5 to enable kernel menuconfig | |
337 | if [ "$KERNEL_MENUCONFIG" = true ] ; then |
|
337 | if [ "$KERNEL_MENUCONFIG" = true ] ; then | |
338 |
REQUIRED_PACKAGES="${REQUIRED_PACKAGES} libncurses |
|
338 | REQUIRED_PACKAGES="${REQUIRED_PACKAGES} libncurses-dev" | |
339 | fi |
|
339 | fi | |
340 |
|
340 | |||
341 | # Add ccache compiler cache for (faster) kernel cross (re)compilation |
|
341 | # Add ccache compiler cache for (faster) kernel cross (re)compilation |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant