@@ -134,9 +134,9 if [ "$BUILD_KERNEL" = true ] ; then | |||
|
134 | 134 | if [ "$KERNEL_REMOVESRC" = true ] ; then |
|
135 | 135 | rm -fr "${KERNEL_DIR}" |
|
136 | 136 | else |
|
137 |
make -C "${KERNEL_DIR}" ARCH="${KERNEL_ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" |
|
|
138 | make -C "${KERNEL_DIR}" ARCH="${KERNEL_ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" oldconfig | |
|
137 | #make -C "${KERNEL_DIR}" ARCH="${KERNEL_ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" oldconfig | |
|
139 | 138 | make -C "${KERNEL_DIR}" ARCH="${KERNEL_ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" modules_prepare |
|
139 | #make -C "${KERNEL_DIR}" ARCH="${KERNEL_ARCH}" CROSS_COMPILE="${CROSS_COMPILE}" mrproper | |
|
140 | 140 | fi |
|
141 | 141 | |
|
142 | 142 | if [ -n "$RPI_FIRMWARE_DIR" ] && [ -d "$RPI_FIRMWARE_DIR" ] ; then |
@@ -312,3 +312,8 fi | |||
|
312 | 312 | |
|
313 | 313 | # Install sysctl.d configuration files |
|
314 | 314 | install_readonly files/sysctl.d/81-rpi-vm.conf "${ETC_DIR}/sysctl.d/81-rpi-vm.conf" |
|
315 | ||
|
316 | # make symlinks | |
|
317 | ln -sf "${KERNEL_DIR}" "${R}/lib/modules/${KERNEL_VERSION}/build" | |
|
318 | ln -sf "${KERNEL_DIR}" "${R}/lib/modules/${KERNEL_VERSION}/source" | |
|
319 |
General Comments 0
Vous devez vous connecter pour laisser un commentaire.
Se connecter maintenant