mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 16:29:18 +00:00
kernel.bbclass: fix extra + in kernelrelease
* see http://lists.linuxtogo.org/pipermail/openembedded-core/2011-December/014308.html Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
5d07b1429e
commit
ef29620a79
@ -209,6 +209,12 @@ sysroot_stage_all_append() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
kernel_do_configure() {
|
kernel_do_configure() {
|
||||||
|
# fixes extra + in /lib/modules/2.6.37+
|
||||||
|
# $ scripts/setlocalversion . => +
|
||||||
|
# $ make kernelversion => 2.6.37
|
||||||
|
# $ make kernelrelease => 2.6.37+
|
||||||
|
touch ${B}/.scmversion
|
||||||
|
|
||||||
# Copy defconfig to .config if .config does not exist. This allows
|
# Copy defconfig to .config if .config does not exist. This allows
|
||||||
# recipes to manage the .config themselves in do_configure_prepend().
|
# recipes to manage the .config themselves in do_configure_prepend().
|
||||||
if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then
|
if [ -f "${WORKDIR}/defconfig" ] && [ ! -f "${B}/.config" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user