From 7d7622db400ffac0522fc9ac380f86951017dad0 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 26 Dec 2014 12:20:07 +0100 Subject: [PATCH] linux-sysmocom: Support ${S} != ${B} builds of yocto master Go back to have our own do_configure. The kernel.bbclass would execute "oldnoconfig" where we simply executed "oldconfig". Keep on using our old way (for the legacy of it). E.g. with the question how we ended up having SMP enabled in the BSC build this might be the answer. --- recipes-bsp/linux/linux-sysmocom_3.2.bb | 4 ++-- recipes-bsp/linux/linux-sysmocom_git.bb | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/recipes-bsp/linux/linux-sysmocom_3.2.bb b/recipes-bsp/linux/linux-sysmocom_3.2.bb index ef45848325..7883cc8b85 100644 --- a/recipes-bsp/linux/linux-sysmocom_3.2.bb +++ b/recipes-bsp/linux/linux-sysmocom_3.2.bb @@ -36,8 +36,8 @@ FILES_kernel-image_sysmobts-v1 = "" require linux-tools.inc do_configure() { - install -m 0644 ${WORKDIR}/defconfig ${S}/.config - oe_runmake oldconfig + install -m 0644 ${WORKDIR}/defconfig ${B}/.config + oe_runmake -C ${S} O=${B} oldconfig } # autoload defaults (alphabetically sorted) diff --git a/recipes-bsp/linux/linux-sysmocom_git.bb b/recipes-bsp/linux/linux-sysmocom_git.bb index 51896603c9..7649db1f33 100644 --- a/recipes-bsp/linux/linux-sysmocom_git.bb +++ b/recipes-bsp/linux/linux-sysmocom_git.bb @@ -15,7 +15,7 @@ BTS_FIRMWARE_NAME_sysmobts-v2 = "sysmobts-v2" SRCREV = "9610e792ffde7fb2599d19ca6d2a03230f2043c6" -PR = "r38" +PR = "r39" PV = "${LINUX_VERSION}+git${SRCPV}" SRC_URI = "git://git.sysmocom.de/sysmo-bts/linux.git;protocol=git;branch=linux-3.10.50 \ @@ -34,8 +34,9 @@ FILES_kernel-image_sysmobts-v1 = "" require linux-tools.inc -do_configure_prepend() { +do_configure() { install -m 0644 ${WORKDIR}/defconfig ${B}/.config + oe_runmake -C ${S} O=${B} oldconfig } # autoload defaults (alphabetically sorted)