boot/opensbi: introduce BR2_TARGET_OPENSBI_ADDITIONAL_VARIABLES
Signed-off-by: Noah Huetter <noahhuetter@gmail.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> [Thomas/Arnout: change option name from BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS to BR2_TARGET_OPENSBI_ADDITIONAL_VARIABLES] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
dc535f7b93
commit
3f6dbcb2f2
@ -119,4 +119,10 @@ config BR2_TARGET_OPENSBI_FW_FDT_PATH
|
||||
must be set in the U-Boot configuration for this file to be
|
||||
produced.
|
||||
|
||||
config BR2_TARGET_OPENSBI_ADDITIONAL_VARIABLES
|
||||
string "Additional build variables"
|
||||
help
|
||||
Additional parameters for the build, which will be passed on
|
||||
the make command line. E.g: BUILD_INFO=1.
|
||||
|
||||
endif
|
||||
|
@ -31,7 +31,8 @@ BR_NO_CHECK_HASH_FOR += $(OPENSBI_SOURCE)
|
||||
endif
|
||||
|
||||
OPENSBI_MAKE_ENV = \
|
||||
CROSS_COMPILE=$(TARGET_CROSS)
|
||||
CROSS_COMPILE=$(TARGET_CROSS) \
|
||||
$(call qstrip,$(BR2_TARGET_OPENSBI_ADDITIONAL_VARIABLES))
|
||||
|
||||
OPENSBI_PLAT = $(call qstrip,$(BR2_TARGET_OPENSBI_PLAT))
|
||||
ifneq ($(OPENSBI_PLAT),)
|
||||
|
Loading…
Reference in New Issue
Block a user