From 015f7bc6e87ccc4eaacbef1092f4bceea6c9c390 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 25 Dec 2014 14:09:29 +0100 Subject: [PATCH] linux-sysmocom: Catch-up with poky master OE-Core seems to unpack the kernel sources into another directory now (e.g. to share the sources with builds for modules). Use the kernel.bbclass kernel_do_configure and copy the .config to the build directory. The kernel is now built in a dedicated build directory. --- recipes-bsp/linux/linux-sysmocom_git.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 3101ecb..5189660 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -34,9 +34,8 @@ FILES_kernel-image_sysmobts-v1 = "" require linux-tools.inc -do_configure() { - install -m 0644 ${WORKDIR}/defconfig ${S}/.config - oe_runmake oldconfig +do_configure_prepend() { + install -m 0644 ${WORKDIR}/defconfig ${B}/.config } # autoload defaults (alphabetically sorted)