]> code.ossystems Code Review - meta-freescale.git/commitdiff
linux-qoriq-sdk : add config fragments with merge_config.sh from kernel tree
authorChunrong Guo <B40290@freescale.com>
Fri, 18 Oct 2013 06:23:44 +0000 (06:23 +0000)
committerbjsimics <bjsimics@localhost.localdomain>
Wed, 23 Oct 2013 10:01:10 +0000 (18:01 +0800)
Signed-off-by: Chunrong Guo <B40290@freescale.com>
meta-fsl-ppc/recipes-kernel/linux/linux-qoriq-sdk.bb

index b7ca72108b9c7b5175af8987d102d3ed4b76448e..df18cfe1d3deeb37fb6209fff0641e266d2d5357 100644 (file)
@@ -11,7 +11,7 @@ SRC_URI += "file://libtraceevent-Remove-hard-coded-include-to-usr-local-include-
 
 PR = "${INC_PR}.1"
 
-DEPENDS_append = " libgcc kern-tools-native"
+DEPENDS_append = " libgcc"
 KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}"
 KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"
 
@@ -20,8 +20,8 @@ do_configure_prepend() {
        cp ${KERNEL_DEFCONFIG} ${B}/.config
     
        # add config fragments    
-       if [ -a "${DELTA_KERNEL_DEFCONFIG}" ]; then
-               merge_config.sh -m .config ${DELTA_KERNEL_DEFCONFIG}
+       if [ -f "${DELTA_KERNEL_DEFCONFIG}" ]; then
+               ${S}/scripts/kconfig/merge_config.sh -m .config ${DELTA_KERNEL_DEFCONFIG}
        fi
 
        # append sdk version in kernel version if SDK_VERSION is defined