diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2019-02-11 18:55:32 +0100 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-05-18 16:37:30 +0200 |
commit | 80f861ef757af33828edcefba8666dec5781c8db (patch) | |
tree | e8ee8ed82611957ecc2a9f44a2725e1df81b36f4 | |
parent | 76338fded0df44450cb4ecc55689341ef6b7a70f (diff) | |
download | upstream-80f861ef757af33828edcefba8666dec5781c8db.tar.gz upstream-80f861ef757af33828edcefba8666dec5781c8db.tar.bz2 upstream-80f861ef757af33828edcefba8666dec5781c8db.zip |
build: add UBOOT_PATH to DEFAULT_DEVICE_VARS and set a default
The helper shared Build/append-uboot in include/image-commands.mk
uses it, so include this variable in DEFAULT_DEVICE_VARS.
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-rw-r--r-- | include/image.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk index 5b02219558..530a2b1335 100644 --- a/include/image.mk +++ b/include/image.mk @@ -383,6 +383,8 @@ define Device/Init IMAGE_METADATA := FILESYSTEMS := $(TARGET_FILESYSTEMS) + + UBOOT_PATH := $(STAGING_DIR_IMAGE)/uboot-$(1) endef DEFAULT_DEVICE_VARS := \ @@ -390,7 +392,7 @@ DEFAULT_DEVICE_VARS := \ CMDLINE UBOOTENV_IN_UBI KERNEL_IN_UBI BLOCKSIZE PAGESIZE SUBPAGESIZE \ VID_HDR_OFFSET UBINIZE_OPTS UBINIZE_PARTS MKUBIFS_OPTS DEVICE_DTS \ DEVICE_DTS_CONFIG DEVICE_DTS_DIR BOARD_NAME UIMAGE_NAME SUPPORTED_DEVICES \ - IMAGE_METADATA KERNEL_ENTRY KERNEL_LOADADDR + IMAGE_METADATA KERNEL_ENTRY KERNEL_LOADADDR UBOOT_PATH define Device/ExportVar $(1) : $(2):=$$($(2)) |