linux-raspberrypi: Do not use += with append

append operator and += when used together results in undefined behaviour
in bitbake

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2e0b2d41cf)
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
This commit is contained in:
Khem Raj 2020-11-14 08:53:49 -08:00 committed by Andrei Gherzan
parent c448bcd074
commit 8c69288c7d

View File

@ -34,7 +34,7 @@ CMDLINE ?= "dwc_otg.lpm_enable=0 ${SERIAL} root=/dev/mmcblk0p2 rootfstype=ext4 r
CMDLINE_append = ' ${@oe.utils.conditional("ENABLE_KGDB", "1", "kgdboc=serial0,115200", "", d)}'
# Disable rpi logo on boot
CMDLINE_append += ' ${@oe.utils.conditional("DISABLE_RPI_BOOT_LOGO", "1", "logo.nologo", "", d)}'
CMDLINE_append = ' ${@oe.utils.conditional("DISABLE_RPI_BOOT_LOGO", "1", "logo.nologo", "", d)}'
# You can define CMDLINE_DEBUG as "debug" in your local.conf or distro.conf
# to enable kernel debugging.