[meta-freescale] [PATCH 07/60] linux-qoriq: save the merged .config as ${WORKDIR}/defconfig
ting.liu at nxp.com
ting.liu at nxp.com
Fri Jan 8 22:43:00 PST 2016
From: Ting Liu <ting.liu at nxp.com>
In fsl-kernel-localversion.bbclass, ${B}/.config will be regenerated
based on ${WORKDIR}/defconfig. Save the merged .config to avoid issue.
Signed-off-by: Ting Liu <ting.liu at nxp.com>
---
recipes-kernel/linux/linux-qoriq.inc | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc
index 6c925de..950c08c 100644
--- a/recipes-kernel/linux/linux-qoriq.inc
+++ b/recipes-kernel/linux/linux-qoriq.inc
@@ -23,8 +23,7 @@ DELTA_KERNEL_DEFCONFIG ?= ""
do_configure_prepend() {
# copy desired defconfig so we pick it up for the real kernel_do_configure
- cp ${KERNEL_DEFCONFIG} ${B}/.config
- cp ${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig
+ cp ${KERNEL_DEFCONFIG} .config
# add config fragments
for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do
if [ -f "${deltacfg}" ]; then
@@ -34,7 +33,7 @@ do_configure_prepend() {
${S}/arch/powerpc/configs/${deltacfg}
fi
done
-
+ cp .config ${WORKDIR}/defconfig
}
do_install_append_qoriq-arm() {
--
1.9.2
More information about the meta-freescale
mailing list