]> code.ossystems Code Review - meta-freescale.git/commitdiff
linux-qoriq-sdk : add config fragments
authorChunrong Guo <B40290@freescale.com>
Wed, 16 Oct 2013 06:03:57 +0000 (06:03 +0000)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 17 Oct 2013 03:28:41 +0000 (11:28 +0800)
Signed-off-by: Chunrong Guo <B40290@freescale.com>
meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.bb

index 7dd70595f6e6cf5bdaf5939c1fdbbe9cd9c4a296..b7ca72108b9c7b5175af8987d102d3ed4b76448e 100644 (file)
@@ -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