[meta-freescale] [meta-fsl-ppc][PATCH] linux-qoriq-sdk : add asf config fragments

b40290 at freescale.com b40290 at freescale.com
Tue Oct 15 20:49:31 PDT 2013


From: Chunrong Guo <B40290 at freescale.com>

Signed-off-by: Chunrong Guo <B40290 at freescale.com>
---
 recipes-kernel/linux/linux-qoriq-sdk.bb |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/recipes-kernel/linux/linux-qoriq-sdk.bb b/recipes-kernel/linux/linux-qoriq-sdk.bb
index 7dd7059..87df7af 100644
--- a/recipes-kernel/linux/linux-qoriq-sdk.bb
+++ b/recipes-kernel/linux/linux-qoriq-sdk.bb
@@ -11,6 +11,7 @@ SRC_URI += "file://libtraceevent-Remove-hard-coded-include-to-usr-local-include-
 
 PR = "${INC_PR}.1"
 
+DEPENDS += "kern-tools-native"
 DEPENDS_append = " libgcc"
 KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}"
 KERNEL_LD_append = " ${TOOLCHAIN_OPTIONS}"
@@ -18,6 +19,11 @@ 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 asf config fragments    
+    	if [ -a "${ASF_DELTA_CONFIG}" ]; then
+		merge_config.sh -m .config ${ASF_DELTA_CONFIG}
+    	fi
 
 	# append sdk version in kernel version if SDK_VERSION is defined
 	if [ -n "${SDK_VERSION}" ]; then
-- 
1.7.5.4





More information about the meta-freescale mailing list