linux-raspberrypi.inc: no longer set CONFIG_LOCALVERSION to empty string

Fixes: #533

Signed-off-by: Michael Baisch <baisch@tau-tec.com>
This commit is contained in:
Michael Baisch 2019-12-09 18:32:08 +00:00 committed by Andrei Gherzan
parent bc7b654fee
commit ef6555c09a

View File

@ -22,6 +22,8 @@ KBUILD_DEFCONFIG_raspberrypi3-64 ?= "bcmrpi3_defconfig"
KBUILD_DEFCONFIG_raspberrypi4 ?= "bcm2711_defconfig" KBUILD_DEFCONFIG_raspberrypi4 ?= "bcm2711_defconfig"
KBUILD_DEFCONFIG_raspberrypi4-64 ?= "bcm2711_defconfig" KBUILD_DEFCONFIG_raspberrypi4-64 ?= "bcm2711_defconfig"
LINUX_VERSION_EXTENSION ?= ""
# CMDLINE for raspberrypi # CMDLINE for raspberrypi
SERIAL = "${@oe.utils.conditional("ENABLE_UART", "1", "console=serial0,115200", "", d)}" SERIAL = "${@oe.utils.conditional("ENABLE_UART", "1", "console=serial0,115200", "", d)}"
CMDLINE ?= "dwc_otg.lpm_enable=0 ${SERIAL} root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" CMDLINE ?= "dwc_otg.lpm_enable=0 ${SERIAL} root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
@ -98,9 +100,6 @@ do_configure_prepend() {
mv -f ${B}/.config ${B}/.config.patched mv -f ${B}/.config ${B}/.config.patched
CONF_SED_SCRIPT="" CONF_SED_SCRIPT=""
# Localversion
kernel_configure_variable LOCALVERSION "\"\""
if [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ]; then if [ "${INITRAMFS_IMAGE_BUNDLE}" = "1" ]; then
kernel_configure_variable OVERLAY_FS y kernel_configure_variable OVERLAY_FS y
kernel_configure_variable SQUASHFS y kernel_configure_variable SQUASHFS y