On Fri, Apr 28, 2017 at 4:37 PM, Gianfranco Costamagna <[email protected]> wrote: > currently there is no way to override the default CMDLINE, lets set if only > if not already set from outside > > Signed-off-by: Gianfranco Costamagna <[email protected]> > --- > recipes-kernel/linux/linux-raspberrypi.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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" > 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)}' > -- > 2.7.4 >
This looks good, I'll add it to my queue to test next week unless Andrei has time to pick it up. We've all been a bit busy, sorry you've not had a response sooner! -- Paul Barker Co-Founder & Principal Engineer Togán Labs Ltd -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
