##// END OF EJS Templates
.
Unknown -
r352:00a2dfe3af63
parent child
Show More
@@ -13,7 +13,7 if [ "$BUILD_KERNEL" = true ] ; then
13 # Copy existing kernel sources into chroot directory
13 # Copy existing kernel sources into chroot directory
14 if [ -n "$KERNELSRC_DIR" ] && [ -d "$KERNELSRC_DIR" ] ; then
14 if [ -n "$KERNELSRC_DIR" ] && [ -d "$KERNELSRC_DIR" ] ; then
15 # Copy kernel sources and include hidden files
15 # Copy kernel sources and include hidden files
16 cp -r "${KERNELSRC_DIR}/". "${R}/usr/src/linux"
16 cp -r "${KERNELSRC_DIR}/". "${KERNEL_DIR}"
17
17
18 # Clean the kernel sources
18 # Clean the kernel sources
19 if [ "$KERNELSRC_CLEAN" = true ] && [ "$KERNELSRC_PREBUILT" = false ] ; then
19 if [ "$KERNELSRC_CLEAN" = true ] && [ "$KERNELSRC_PREBUILT" = false ] ; then
@@ -31,7 +31,7 if [ "$BUILD_KERNEL" = true ] ; then
31 fi
31 fi
32
32
33 # Copy downloaded kernel sources
33 # Copy downloaded kernel sources
34 cp -r "${temp_dir}/linux/"* "${R}/usr/src/linux/"
34 cp -r "${temp_dir}/linux/"* "${KERNEL_DIR}"
35
35
36 # Remove temporary directory for kernel sources
36 # Remove temporary directory for kernel sources
37 rm -fr "${temp_dir}"
37 rm -fr "${temp_dir}"
@@ -84,7 +84,7 if [ "$BUILD_KERNEL" = true ] ; then
84 fi
84 fi
85
85
86 #Switch to KERNELSRC_DIR
86 #Switch to KERNELSRC_DIR
87 pushd "${KERNELSRC_DIR}"
87 pushd "${KERNEL_DIR}"
88
88
89 # GPL v2.0
89 # GPL v2.0
90 #https://github.com/sakaki-/bcmrpi3-kernel-bis/blob/master/conform_config.sh
90 #https://github.com/sakaki-/bcmrpi3-kernel-bis/blob/master/conform_config.sh
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant