[Buildroot] [PATCH 1/1] boot/opensbi: introduce BR2_TARGET_OPENSBI_CUSTOM_MAKEOPTS
Noah Hütter
noahhuetter at gmail.com
Thu May 12 06:50:51 UTC 2022
Hi Alistair,
Is there any action needed from my side to get this committed?
Noah
On 4/28/22 00:55, Alistair Francis wrote:
> On Wed, Apr 27, 2022 at 11:14 PM Noah Huetter <noahhuetter at gmail.com> wrote:
>>
>> Signed-off-by: Noah Huetter <noahhuetter at gmail.com>
>
> Reviewed-by: Alistair Francis <alistair.francis at wdc.com>
>
> Alistair
>
>> ---
>> boot/opensbi/Config.in | 6 ++++++
>> boot/opensbi/opensbi.mk | 3 ++-
>> 2 files changed, 8 insertions(+), 1 deletion(-)
>>
>> diff --git a/boot/opensbi/Config.in b/boot/opensbi/Config.in
>> index f1443498d9..ff095ea800 100644
>> --- a/boot/opensbi/Config.in
>> +++ b/boot/opensbi/Config.in
>> @@ -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_CUSTOM_MAKEOPTS
>> + string "Custom make options"
>> + help
>> + List of custom make options passed at build time. Can be
>> + used for example to pass a BUILD_INFO= value.
>> +
>> endif
>> diff --git a/boot/opensbi/opensbi.mk b/boot/opensbi/opensbi.mk
>> index 8e055633a8..d007ae1299 100644
>> --- a/boot/opensbi/opensbi.mk
>> +++ b/boot/opensbi/opensbi.mk
>> @@ -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_CUSTOM_MAKEOPTS))
>>
>> OPENSBI_PLAT = $(call qstrip,$(BR2_TARGET_OPENSBI_PLAT))
>> ifneq ($(OPENSBI_PLAT),)
>> --
>> 2.35.1
>>
>> _______________________________________________
>> buildroot mailing list
>> buildroot at buildroot.org
>> https://lists.buildroot.org/mailman/listinfo/buildroot
--
Noah Huetter
https://beeblebrox.ch/
Fingerprint: A251 8391 5989 094E 0747 6B68 362A 1C58 456D DA0F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20220512/d5290920/attachment.asc>
More information about the buildroot
mailing list