diff options
| -rw-r--r-- | meta/classes/kernel.bbclass | 4 | ||||
| -rw-r--r-- | meta/conf/bitbake.conf | 4 | ||||
| -rw-r--r-- | meta/recipes-core/images/build-appliance-image_14.0.0.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 3 |
4 files changed, 5 insertions, 8 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 6e3e81e936..963f327dd6 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
| @@ -121,10 +121,6 @@ EXTRA_OEMAKE = "" | |||
| 121 | 121 | ||
| 122 | KERNEL_ALT_IMAGETYPE ??= "" | 122 | KERNEL_ALT_IMAGETYPE ??= "" |
| 123 | 123 | ||
| 124 | # Define where the kernel headers are installed on the target as well as where | ||
| 125 | # they are staged. | ||
| 126 | KERNEL_SRC_PATH = "/usr/src/kernel" | ||
| 127 | |||
| 128 | copy_initramfs() { | 124 | copy_initramfs() { |
| 129 | echo "Copying initramfs into ./usr ..." | 125 | echo "Copying initramfs into ./usr ..." |
| 130 | # In case the directory is not created yet from the first pass compile: | 126 | # In case the directory is not created yet from the first pass compile: |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 382dadca6d..8a84e53c1b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
| @@ -407,6 +407,10 @@ OLDEST_KERNEL = "3.2.0" | |||
| 407 | OLDEST_KERNEL_aarch64 = "3.14" | 407 | OLDEST_KERNEL_aarch64 = "3.14" |
| 408 | OLDEST_KERNEL_nios2 = "3.19" | 408 | OLDEST_KERNEL_nios2 = "3.19" |
| 409 | 409 | ||
| 410 | # Define where the kernel headers are installed on the target as well as where | ||
| 411 | # they are staged. | ||
| 412 | KERNEL_SRC_PATH = "/usr/src/kernel" | ||
| 413 | |||
| 410 | STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" | 414 | STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-source" |
| 411 | STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts" | 415 | STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-build-artifacts" |
| 412 | 416 | ||
diff --git a/meta/recipes-core/images/build-appliance-image_14.0.0.bb b/meta/recipes-core/images/build-appliance-image_14.0.0.bb index 569fb3ae57..2a1a56b617 100644 --- a/meta/recipes-core/images/build-appliance-image_14.0.0.bb +++ b/meta/recipes-core/images/build-appliance-image_14.0.0.bb | |||
| @@ -54,7 +54,7 @@ fakeroot do_populate_poky_src () { | |||
| 54 | cp ${WORKDIR}/README_VirtualBox_Guest_Additions.txt ${IMAGE_ROOTFS}/home/builder/ | 54 | cp ${WORKDIR}/README_VirtualBox_Guest_Additions.txt ${IMAGE_ROOTFS}/home/builder/ |
| 55 | 55 | ||
| 56 | # Create a symlink, needed for out-of-tree kernel modules build | 56 | # Create a symlink, needed for out-of-tree kernel modules build |
| 57 | ln -snr ${IMAGE_ROOTFS}/usr/src/kernel ${IMAGE_ROOTFS}/lib/modules/${KERNEL_VERSION}/build | 57 | ln -snr ${IMAGE_ROOTFS}${KERNEL_SRC_PATH} ${IMAGE_ROOTFS}/lib/modules/${KERNEL_VERSION}/build |
| 58 | 58 | ||
| 59 | echo "/usr/bin" > ${IMAGE_ROOTFS}/home/builder/poky/build/pseudodone | 59 | echo "/usr/bin" > ${IMAGE_ROOTFS}/home/builder/poky/build/pseudodone |
| 60 | echo "INHERIT += \"rm_work\"" >> ${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf | 60 | echo "INHERIT += \"rm_work\"" >> ${IMAGE_ROOTFS}/home/builder/poky/build/conf/auto.conf |
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index 196c8c7a24..0fdd0ad5f6 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
| @@ -28,9 +28,6 @@ do_configure[noexec] = "1" | |||
| 28 | do_compile[noexec] = "1" | 28 | do_compile[noexec] = "1" |
| 29 | do_populate_sysroot[noexec] = "1" | 29 | do_populate_sysroot[noexec] = "1" |
| 30 | 30 | ||
| 31 | # Define where the kernel headers are installed on the target as well as where | ||
| 32 | # they are staged. | ||
| 33 | KERNEL_SRC_PATH = "/usr/src/kernel" | ||
| 34 | S = "${STAGING_KERNEL_DIR}" | 31 | S = "${STAGING_KERNEL_DIR}" |
| 35 | B = "${STAGING_KERNEL_BUILDDIR}" | 32 | B = "${STAGING_KERNEL_BUILDDIR}" |
| 36 | 33 | ||
