mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-05-08 17:19:14 +00:00
linux-raspberrypi: Make CMDLINE overridable from outside
currently there is no way to override the default CMDLINE, this variable needs to be set only if the developer didn't set it already from another layer. Signed-off-by: Gianfranco Costamagna <gianfranco.costamagna@abinsula.com>
This commit is contained in:
@@ -21,7 +21,7 @@ KERNEL_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig"
|
||||
KERNEL_DEFCONFIG_raspberrypi3-64 ?= "bcmrpi3_defconfig"
|
||||
|
||||
# CMDLINE for raspberrypi
|
||||
CMDLINE = "dwc_otg.lpm_enable=0 console=serial0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
|
||||
CMDLINE ?= "dwc_otg.lpm_enable=0 console=serial0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
|
||||
|
||||
# Add the kernel debugger over console kernel command line option if enabled
|
||||
CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=serial0,115200", "", d)}'
|
||||
|
||||
Reference in New Issue
Block a user