From: Denys Dmytriyenko <[email protected]> * Add support for additional config fragments passed via semi-standard KERNEL_CONFIG_FRAGMENTS variable * Also don't build all DTBs, only those specified in the machine config
Signed-off-by: Denys Dmytriyenko <[email protected]> --- .../recipes-kernel/linux/linux-bb.org/defconfig | 1 + .../recipes-kernel/linux/linux-bb.org_git.bb | 13 +++++-------- 2 files changed, 6 insertions(+), 8 deletions(-) create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-bb.org/defconfig diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/defconfig new file mode 100644 index 00000000..a5de2e24 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org/defconfig @@ -0,0 +1 @@ +use-kernel-config=bb.org_defconfig diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb index 19664ba8..e134fb84 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-bb.org_git.bb @@ -7,6 +7,7 @@ COMPATIBLE_MACHINE = "beagle.*" inherit kernel +require recipes-kernel/linux/setup-defconfig.inc require recipes-kernel/linux/ti-kernel.inc DEPENDS += "gmp-native libmpc-native" @@ -25,13 +26,9 @@ SRCREV:aarch64 = "a2f5d5746b6c389e58d20fda0a0fa88403da428b" PV:aarch64 = "5.10.162+git${SRCPV}" BRANCH:aarch64 = "v5.10.162-ti-arm64-r99" -SRC_URI = "git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH}" +SRC_URI = " \ + git://github.com/beagleboard/linux.git;protocol=https;branch=${BRANCH} \ + file://defconfig \ +" SRC_URI:append:armv7a = " file://0001-defconfig-switch-default-kernel-compression-to-LZMA.patch" - -DEFCONFIG_NAME = "bb.org_defconfig" -KERNEL_CONFIG_COMMAND = "oe_runmake -C ${S} O=${B} ${DEFCONFIG_NAME}" - -kernel_do_compile:append() { - oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS} -} -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16464): https://lists.yoctoproject.org/g/meta-ti/message/16464 Mute This Topic: https://lists.yoctoproject.org/mt/98623377/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/leave/6695321/21656/1393940836/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
