diff options
Diffstat (limited to 'recipes-kernel')
13 files changed, 9 insertions, 29 deletions
diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb index 9ed3f1f5f..947a31280 100644 --- a/recipes-kernel/ceetm/ceetm_git.bb +++ b/recipes-kernel/ceetm/ceetm_git.bb | |||
@@ -9,8 +9,6 @@ SRC_URI:append = " file://0001-Makefile-update-CFLAGS.patch \ | |||
9 | " | 9 | " |
10 | DEPENDS = "iproute2" | 10 | DEPENDS = "iproute2" |
11 | 11 | ||
12 | S = "${WORKDIR}/git" | ||
13 | |||
14 | export IPROUTE2_DIR = "${STAGING_DIR_TARGET}" | 12 | export IPROUTE2_DIR = "${STAGING_DIR_TARGET}" |
15 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" | 13 | WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}" |
16 | export CROSS_COMPILE = "${WRAP_TARGET_PREFIX}" | 14 | export CROSS_COMPILE = "${WRAP_TARGET_PREFIX}" |
diff --git a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb index 553e2013c..054cb1fb9 100644 --- a/recipes-kernel/kernel-modules/kernel-module-ar_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-ar_git.bb | |||
@@ -7,8 +7,6 @@ inherit module | |||
7 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/auto-resp;branch=nxp/sdk-v2.0.x;protocol=https" | 7 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/auto-resp;branch=nxp/sdk-v2.0.x;protocol=https" |
8 | SRCREV = "9a74743167dcfcfbca5056eedbff9a52337c9712" | 8 | SRCREV = "9a74743167dcfcfbca5056eedbff9a52337c9712" |
9 | 9 | ||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" | 10 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}" |
13 | export KERNEL_PATH | 11 | export KERNEL_PATH |
14 | 12 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb index 13793132a..053239365 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p2.2+fslc.bb | |||
@@ -12,8 +12,6 @@ PV .= "+git${SRCPV}" | |||
12 | SRCREV = "4d035200e7b15d2713d49979a1d05f201b92cf4c" | 12 | SRCREV = "4d035200e7b15d2713d49979a1d05f201b92cf4c" |
13 | SRC_URI = "git://github.com/Freescale/kernel-module-imx-gpu-viv.git;protocol=https;branch=master" | 13 | SRC_URI = "git://github.com/Freescale/kernel-module-imx-gpu-viv.git;protocol=https;branch=master" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit module | 15 | inherit module |
18 | 16 | ||
19 | KERNEL_MODULE_AUTOLOAD = "galcore" | 17 | KERNEL_MODULE_AUTOLOAD = "galcore" |
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.0.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.0.bb index 8a0c0bbeb..f55ca7084 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.0.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.4.11.p3.0.bb | |||
@@ -7,14 +7,14 @@ allowing flexibility to use a newer graphics release with an older kernel." | |||
7 | LICENSE = "GPL-2.0-only" | 7 | LICENSE = "GPL-2.0-only" |
8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | 8 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" |
9 | 9 | ||
10 | SRC_URI = "${KERNEL_SRC};subpath=drivers/mxc/gpu-viv;destsuffix=git/src \ | 10 | SRC_URI = "${KERNEL_SRC};subpath=drivers/mxc/gpu-viv;destsuffix=${S}/src \ |
11 | file://Add-makefile.patch" | 11 | file://Add-makefile.patch" |
12 | KERNEL_SRC ?= "git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" | 12 | KERNEL_SRC ?= "git://github.com/nxp-imx/linux-imx.git;protocol=https;branch=${SRCBRANCH}" |
13 | SRCBRANCH = "lf-6.12.y" | 13 | SRCBRANCH = "lf-6.12.y" |
14 | LOCALVERSION = "-6.12.3-1.0.0" | 14 | LOCALVERSION = "-6.12.3-1.0.0" |
15 | SRCREV = "d8c9f00d41b313a1ac122530524a62604c6871c9" | 15 | SRCREV = "d8c9f00d41b313a1ac122530524a62604c6871c9" |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | 17 | S = "${UNPACKDIR}/${BP}" |
18 | 18 | ||
19 | inherit module | 19 | inherit module |
20 | 20 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-ipc.inc b/recipes-kernel/kernel-modules/kernel-module-ipc.inc index d2316fe00..50d8cca62 100644 --- a/recipes-kernel/kernel-modules/kernel-module-ipc.inc +++ b/recipes-kernel/kernel-modules/kernel-module-ipc.inc | |||
@@ -8,8 +8,6 @@ inherit module qoriq_build_64bit_kernel | |||
8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/ipc;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/ipc;protocol=https;nobranch=1" |
9 | SRCREV = "74d662707558290f070f9589177db730444bc435" | 9 | SRCREV = "74d662707558290f070f9589177db730444bc435" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 11 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
14 | do_compile:prepend () { | 12 | do_compile:prepend () { |
15 | cd ${S}/kernel | 13 | cd ${S}/kernel |
diff --git a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.1.bb b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.1.bb index 33c348ae9..62dd737cb 100644 --- a/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.1.bb +++ b/recipes-kernel/kernel-modules/kernel-module-isp-vvcam_4.2.2.25.1.bb | |||
@@ -9,14 +9,14 @@ ISP_KERNEL_SRC ?= "git://github.com/nxp-imx/isp-vvcam.git;protocol=https" | |||
9 | SRCBRANCH = "lf-6.12.y_1.0.0" | 9 | SRCBRANCH = "lf-6.12.y_1.0.0" |
10 | SRCREV = "78d717bb22819df9d988ef1b4e3cca1acf61095d" | 10 | SRCREV = "78d717bb22819df9d988ef1b4e3cca1acf61095d" |
11 | 11 | ||
12 | S = "${WORKDIR}/git/vvcam/v4l2" | 12 | S = "${UNPACKDIR}/${BP}/vvcam/v4l2" |
13 | 13 | ||
14 | inherit module | 14 | inherit module |
15 | 15 | ||
16 | MODULES_MODULE_SYMVERS_LOCATION = "dwe" | 16 | MODULES_MODULE_SYMVERS_LOCATION = "dwe" |
17 | 17 | ||
18 | DEBUG_PREFIX_MAP:prepend = " \ | 18 | DEBUG_PREFIX_MAP:prepend = " \ |
19 | -fmacro-prefix-map=${WORKDIR}/git/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ | 19 | -fmacro-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} \ |
20 | -fdebug-prefix-map=${WORKDIR}/git/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} " | 20 | -fdebug-prefix-map=${UNPACKDIR}/${BP}/vvcam=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR} " |
21 | 21 | ||
22 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | 22 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" |
diff --git a/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb b/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb index ba1561618..9c5ce8f17 100644 --- a/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-ls-debug_git.bb | |||
@@ -10,8 +10,6 @@ inherit module autotools-brokensep | |||
10 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/ls-dbg;branch=nxp/master;protocol=https" | 10 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/ls-dbg;branch=nxp/master;protocol=https" |
11 | SRCREV = "40501f6659e880d38508cdd34a4df2d348d1c68e" | 11 | SRCREV = "40501f6659e880d38508cdd34a4df2d348d1c68e" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | ||
14 | |||
15 | EXTRA_OECONF += "--with-linux=${STAGING_KERNEL_DIR}" | 13 | EXTRA_OECONF += "--with-linux=${STAGING_KERNEL_DIR}" |
16 | EXTRA_OEMAKE += 'SYSROOT="${D}"' | 14 | EXTRA_OEMAKE += 'SYSROOT="${D}"' |
17 | 15 | ||
diff --git a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb index 5b3b47756..70386dc0d 100644 --- a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb | |||
@@ -16,8 +16,6 @@ SRC_URI = " \ | |||
16 | " | 16 | " |
17 | SRCREV = "0396cfb38ad73a3d587cd0f8c139b47801e70891" | 17 | SRCREV = "0396cfb38ad73a3d587cd0f8c139b47801e70891" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | inherit module | 19 | inherit module |
22 | 20 | ||
23 | EXTRA_OEMAKE = "KERNELDIR=${STAGING_KERNEL_BUILDDIR} -C ${STAGING_KERNEL_BUILDDIR} M=${S}" | 21 | EXTRA_OEMAKE = "KERNELDIR=${STAGING_KERNEL_BUILDDIR} -C ${STAGING_KERNEL_BUILDDIR} M=${S}" |
diff --git a/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb b/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb index efccc286d..e7ae8556e 100644 --- a/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb +++ b/recipes-kernel/kernel-modules/kernel-module-uio-seville_0.1.bb | |||
@@ -7,6 +7,6 @@ SRCREV = "0f31fbcbe9ab1ab9c424da34f70c82314b16f8de" | |||
7 | 7 | ||
8 | inherit module | 8 | inherit module |
9 | 9 | ||
10 | S = "${WORKDIR}/git/uio-driver" | 10 | S = "${UNPACKDIR}/${BP}/uio-driver" |
11 | 11 | ||
12 | COMPATIBLE_MACHINE = "(t1040|t1042)" | 12 | COMPATIBLE_MACHINE = "(t1040|t1042)" |
diff --git a/recipes-kernel/linux/linux-imx-headers_6.12.bb b/recipes-kernel/linux/linux-imx-headers_6.12.bb index c8a2a3450..2f5ba04ee 100644 --- a/recipes-kernel/linux/linux-imx-headers_6.12.bb +++ b/recipes-kernel/linux/linux-imx-headers_6.12.bb | |||
@@ -15,8 +15,6 @@ SRCBRANCH = "lf-6.12.y" | |||
15 | LOCALVERSION = "-lts-${SRCBRANCH}" | 15 | LOCALVERSION = "-lts-${SRCBRANCH}" |
16 | SRCREV = "37d02f4dcbbe6677dc9f5fc17f386c05d6a7bd7a" | 16 | SRCREV = "37d02f4dcbbe6677dc9f5fc17f386c05d6a7bd7a" |
17 | 17 | ||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | do_configure[noexec] = "1" | 18 | do_configure[noexec] = "1" |
21 | 19 | ||
22 | do_compile[noexec] = "1" | 20 | do_compile[noexec] = "1" |
diff --git a/recipes-kernel/linux/linux-imx.inc b/recipes-kernel/linux/linux-imx.inc index 4e3911168..521bd7948 100644 --- a/recipes-kernel/linux/linux-imx.inc +++ b/recipes-kernel/linux/linux-imx.inc | |||
@@ -19,8 +19,6 @@ PV = "${LINUX_VERSION}+git${SRCPV}" | |||
19 | 19 | ||
20 | SRC_URI = "git://github.com/nxp-imx/linux-imx;protocol=https;branch=${SRCBRANCH}" | 20 | SRC_URI = "git://github.com/nxp-imx/linux-imx;protocol=https;branch=${SRCBRANCH}" |
21 | 21 | ||
22 | S = "${WORKDIR}/git" | ||
23 | |||
24 | # Tell to kernel class that we would like to use our defconfig to configure the kernel. | 22 | # Tell to kernel class that we would like to use our defconfig to configure the kernel. |
25 | # Otherwise, the --allnoconfig would be used per default which leads to mis-configured | 23 | # Otherwise, the --allnoconfig would be used per default which leads to mis-configured |
26 | # kernel. | 24 | # kernel. |
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc index 5d28ae84a..7243a345c 100644 --- a/recipes-kernel/linux/linux-qoriq.inc +++ b/recipes-kernel/linux/linux-qoriq.inc | |||
@@ -5,8 +5,6 @@ SUMMARY = "Linux Kernel for NXP QorIQ platforms" | |||
5 | SECTION = "kernel" | 5 | SECTION = "kernel" |
6 | LICENSE = "GPL-2.0-only" | 6 | LICENSE = "GPL-2.0-only" |
7 | 7 | ||
8 | S = "${WORKDIR}/git" | ||
9 | |||
10 | DEPENDS:append = " libgcc" | 8 | DEPENDS:append = " libgcc" |
11 | # not put Images into /boot of rootfs, install kernel-image if needed | 9 | # not put Images into /boot of rootfs, install kernel-image if needed |
12 | RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" | 10 | RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" |
@@ -44,13 +42,13 @@ do_merge_delta_config() { | |||
44 | for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do | 42 | for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do |
45 | if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then | 43 | if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then |
46 | oe_runmake -C ${S} O=${B} ${deltacfg} | 44 | oe_runmake -C ${S} O=${B} ${deltacfg} |
47 | elif [ -f "${WORKDIR}/${deltacfg}" ]; then | 45 | elif [ -f "${UNPACKDIR}/${deltacfg}" ]; then |
48 | ${S}/scripts/kconfig/merge_config.sh -m .config ${WORKDIR}/${deltacfg} | 46 | ${S}/scripts/kconfig/merge_config.sh -m .config ${UNPACKDIR}/${deltacfg} |
49 | elif [ -f "${deltacfg}" ]; then | 47 | elif [ -f "${deltacfg}" ]; then |
50 | ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} | 48 | ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} |
51 | fi | 49 | fi |
52 | done | 50 | done |
53 | cp .config ${WORKDIR}/defconfig | 51 | cp .config ${UNPACKDIR}/defconfig |
54 | } | 52 | } |
55 | addtask merge_delta_config before do_kernel_localversion after do_patch | 53 | addtask merge_delta_config before do_kernel_localversion after do_patch |
56 | 54 | ||
diff --git a/recipes-kernel/skmm-host/skmm-host_git.bb b/recipes-kernel/skmm-host/skmm-host_git.bb index af8982b9c..cc226bd9a 100644 --- a/recipes-kernel/skmm-host/skmm-host_git.bb +++ b/recipes-kernel/skmm-host/skmm-host_git.bb | |||
@@ -8,8 +8,6 @@ inherit module qoriq_build_64bit_kernel | |||
8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/skmm-host;protocol=https;nobranch=1" | 8 | SRC_URI = "git://github.com/nxp-qoriq-yocto-sdk/skmm-host;protocol=https;nobranch=1" |
9 | SRCREV = "d5912ebdb8d3b29b1e2df52710e8821d1ce3eb80" | 9 | SRCREV = "d5912ebdb8d3b29b1e2df52710e8821d1ce3eb80" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | EXTRA_OEMAKE = 'KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"' | 11 | EXTRA_OEMAKE = 'KERNEL_DIR="${STAGING_KERNEL_DIR}" PREFIX="${D}"' |
14 | 12 | ||
15 | FILES:${PN} += "/etc/skmm/ /usr/bin/" | 13 | FILES:${PN} += "/etc/skmm/ /usr/bin/" |