mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
recipes: use oe.utils.conditional instead of deprecated base_conditional
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
8643e28c3a
commit
ea35d07b5b
|
@ -22,10 +22,10 @@ KBUILD_DEFCONFIG_raspberrypi3-64 ?= "bcmrpi3_defconfig"
|
||||||
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
|
# Add the kernel debugger over console kernel command line option if enabled
|
||||||
CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=serial0,115200", "", d)}'
|
CMDLINE_append = ' ${@oe.utils.conditional("ENABLE_KGDB", "1", "kgdboc=serial0,115200", "", d)}'
|
||||||
|
|
||||||
# Disable rpi logo on boot
|
# Disable rpi logo on boot
|
||||||
CMDLINE_append += ' ${@base_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
|
# You can define CMDLINE_DEBUG as "debug" in your local.conf or distro.conf
|
||||||
# to enable kernel debugging.
|
# to enable kernel debugging.
|
||||||
|
@ -38,7 +38,7 @@ UDEV_GE_141 ?= "1"
|
||||||
# Enable OABI compat for people stuck with obsolete userspace
|
# Enable OABI compat for people stuck with obsolete userspace
|
||||||
ARM_KEEP_OABI ?= "1"
|
ARM_KEEP_OABI ?= "1"
|
||||||
|
|
||||||
KERNEL_INITRAMFS ?= '${@base_conditional("INITRAMFS_IMAGE_BUNDLE", "1", "1", "", d)}'
|
KERNEL_INITRAMFS ?= '${@oe.utils.conditional("INITRAMFS_IMAGE_BUNDLE", "1", "1", "", d)}'
|
||||||
|
|
||||||
KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "stmpe-ts", "", d)}"
|
KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "stmpe-ts", "", d)}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user