@@ -8,7 +8,7 | |||
|
8 | 8 | # Fetch and build latest raspberry kernel |
|
9 | 9 | if [ "$BUILD_KERNEL" = true ] ; then |
|
10 | 10 | # Setup source directory |
|
11 | mkdir -p "${R}/usr/src/linux" | |
|
11 | mkdir -p "${KERNEL_DIR}" | |
|
12 | 12 | |
|
13 | 13 | # Copy existing kernel sources into chroot directory |
|
14 | 14 | if [ -n "$KERNELSRC_DIR" ] && [ -d "$KERNELSRC_DIR" ] ; then |
@@ -83,7 +83,7 ETC_DIR="${R}/etc" | |||
|
83 | 83 | LIB_DIR="${R}/lib" |
|
84 | 84 | BOOT_DIR="${R}/boot/firmware" |
|
85 | 85 | KERNEL_DIR="${R}/usr/src/linux" |
|
86 |
WLAN_FIRMWARE_DIR="${R} |
|
|
86 | WLAN_FIRMWARE_DIR="${LIB_DIR}/firmware/brcm" | |
|
87 | 87 | |
|
88 | 88 | # Firmware directory: Blank if download from github |
|
89 | 89 | RPI_FIRMWARE_DIR=${RPI_FIRMWARE_DIR:=""} |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant