[meta-lsi] [PATCH 79/86] linux-yocto: Don't use defconfig from sources for YOCTO (axxia)
Daniel Dragomir
daniel.dragomir at windriver.com
Wed Oct 29 08:36:27 PDT 2014
YOCTO (axxia) kernel repos use an interactiv generated .config,
don't use defconfig files from /arch/$ARCH/configs/lsi_defconfig.
Signed-off-by: Daniel Dragomir <daniel.dragomir at windriver.com>
---
recipes-kernel/linux/linux-yocto.inc | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/recipes-kernel/linux/linux-yocto.inc b/recipes-kernel/linux/linux-yocto.inc
index 4ea687b..1905fdf 100644
--- a/recipes-kernel/linux/linux-yocto.inc
+++ b/recipes-kernel/linux/linux-yocto.inc
@@ -134,12 +134,14 @@ do_deploy_append() {
}
do_patch_append() {
- if [ "${PN}" = "linux-yocto" ]
+ if [ "${LSI_SRC}" != "linux-yocto" ]
then
- cp ${WORKDIR}/linux/arch/${KARCH}/configs/lsi_defconfig ${WORKDIR}/defconfig
- elif [ "${PN}" = "linux-yocto-rt" ]
- then
- cp ${WORKDIR}/linux/arch/${KARCH}/configs/lsi_rt_defconfig ${WORKDIR}/defconfig
+ if [ "${PN}" = "linux-yocto" ]
+ then
+ cp ${WORKDIR}/linux/arch/${KARCH}/configs/lsi_defconfig ${WORKDIR}/defconfig
+ elif [ "${PN}" = "linux-yocto-rt" ]
+ then
+ cp ${WORKDIR}/linux/arch/${KARCH}/configs/lsi_rt_defconfig ${WORKDIR}/defconfig
+ fi
fi
}
-
--
1.8.1.4
More information about the meta-lsi
mailing list