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.
This commit is contained in:
Holger Hans Peter Freyther 2014-12-26 12:20:07 +01:00
parent 17eb891cc1
commit 7d7622db40
2 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -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)