[meta-freescale] [meta-fsl-ppc][dylan][PATCH 11/12] linux-qoriq-sdk : add config fragments
b28495 at freescale.com
b28495 at freescale.com
Tue Jan 7 05:07:02 PST 2014
From: Chunrong Guo <B40290 at freescale.com>
Signed-off-by: Chunrong Guo <B40290 at freescale.com>
---
recipes-kernel/linux/linux-qoriq-sdk.bb | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/recipes-kernel/linux/linux-qoriq-sdk.bb b/recipes-kernel/linux/linux-qoriq-sdk.bb
index 502132f..5f6812f 100644
--- a/recipes-kernel/linux/linux-qoriq-sdk.bb
+++ b/recipes-kernel/linux/linux-qoriq-sdk.bb
@@ -9,13 +9,18 @@ require recipes-kernel/linux/linux-qoriq-sdk.inc
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
--
1.7.3.4
More information about the meta-freescale
mailing list