meta-digi-arm: fix building kernel using out-of-tree

The way the kernel is built in yocto 1.8 has changed. Now the
build is done under ${WORKDIR}/build while the source code is at
STAGING_KERNEL_DIR, so we need to modify the '.config' in the build
directory instead of in the source directory.

This fixes:

kernel-source is not clean, please run 'make mrproper'
make[2]: *** [prepare3] Error 1
make[1]: *** [sub-make] Error 2

https://jira.digi.com/browse/DEL-1558

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2015-03-12 14:44:25 +01:00
parent 60ff626ed5
commit b386710979
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ SRC_URI = " \
do_configure() {
for i in $(echo ${WORKDIR}/*.cfg); do
[ "${i}" = "${WORKDIR}/*.cfg" ] && continue
cat ${i} >> '${S}/.config'
cat ${i} >> ${B}/.config
done
kernel_do_configure
}