diff options
author | Gianfranco Costamagna <costamagnagianfranco@yahoo.it> | 2017-04-28 11:34:32 +0200 |
---|---|---|
committer | Gianfranco Costamagna <costamagnagianfranco@yahoo.it> | 2017-05-16 12:53:47 +0200 |
commit | 4a2e37f96e6568d0ab60c12c85895961a9730d40 (patch) | |
tree | 655624a2d19a252bf4673451cdd39e805d0b3219 | |
parent | d9e94b87a7e5caf9deb0091cd8b2eca09b091d2e (diff) | |
download | meta-raspberrypi-4a2e37f96e6568d0ab60c12c85895961a9730d40.tar.gz |
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>
-rw-r--r-- | recipes-kernel/linux/linux-raspberrypi.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index cf61cce..9265d55 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc | |||
@@ -21,7 +21,7 @@ KERNEL_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig" | |||
21 | KERNEL_DEFCONFIG_raspberrypi3-64 ?= "bcmrpi3_defconfig" | 21 | KERNEL_DEFCONFIG_raspberrypi3-64 ?= "bcmrpi3_defconfig" |
22 | 22 | ||
23 | # CMDLINE for raspberrypi | 23 | # CMDLINE for raspberrypi |
24 | CMDLINE = "dwc_otg.lpm_enable=0 console=serial0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" | 24 | CMDLINE ?= "dwc_otg.lpm_enable=0 console=serial0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" |
25 | 25 | ||
26 | # Add the kernel debugger over console kernel command line option if enabled | 26 | # Add the kernel debugger over console kernel command line option if enabled |
27 | CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=serial0,115200", "", d)}' | 27 | CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=serial0,115200", "", d)}' |