From dc1bcaf55fec2cdaa725f81aa34706103b833fae Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Wed, 16 Oct 2013 06:03:57 +0000 Subject: [PATCH] linux-qoriq-sdk : add config fragments Signed-off-by: Chunrong Guo --- meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.bb b/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.bb index 7dd70595..b7ca7210 100644 --- a/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.bb +++ b/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.bb @@ -11,13 +11,18 @@ SRC_URI += "file://libtraceevent-Remove-hard-coded-include-to-usr-local-include- PR = "${INC_PR}.1" -DEPENDS_append = " libgcc" +DEPENDS_append = " libgcc kern-tools-native" KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}" KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}" do_configure_prepend() { # copy desired defconfig so we pick it up for the real kernel_do_configure cp ${KERNEL_DEFCONFIG} ${B}/.config + + # add config fragments + if [ -a "${DELTA_KERNEL_DEFCONFIG}" ]; then + merge_config.sh -m .config ${DELTA_KERNEL_DEFCONFIG} + fi # append sdk version in kernel version if SDK_VERSION is defined if [ -n "${SDK_VERSION}" ]; then -- 2.40.1