Skip to content

Commit 6af32cb

Browse files
committed
Relax UBOOT_ENTRYPOINT and UBOOT_LOADADDRESS default definitions
Set UBOOT_ENTRYPOINT and UBOOT_LOADADDRESS using the weak assignment operator (?=) to allow for easier override in downstream layers or machine configurations without forcing a hardcoded value.
1 parent 2c646d2 commit 6af32cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

recipes-kernel/linux/linux-raspberrypi.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r",
4444
# manually. This value unused if KERNEL_IMAGETYPE is not uImage.
4545
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
4646

47-
UBOOT_ENTRYPOINT = "0x00008000"
48-
UBOOT_LOADADDRESS = "0x00008000"
47+
UBOOT_ENTRYPOINT ?= "0x00008000"
48+
UBOOT_LOADADDRESS ?= "0x00008000"

0 commit comments

Comments
 (0)