Skip to content

Commit 695da2a

Browse files
committed
linux-raspberrypi.inc: relax uboot ENTRYPOINT/LOADADDRESS definitions
Set UBOOT_ENTRYPOINT/UBOOT_LOADADDRESS using the weak assignment operator (?=) to allow for easier override in downstream layers or machine configurations without forcing a hardcoded value. Signed-off-by: Ayoub Zaki <ayoub.zaki@embetrix.com>
1 parent cc66524 commit 695da2a

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)