Re: [PATCH] fixup! common: add option for shipping KCONFIG_CONFIG as /env/data/config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 12.04.21 09:45, Roland Hieber wrote:
> On Sun, Apr 11, 2021 at 10:39:47PM +0200, Ahmad Fatoum wrote:
>> Doesn't make sense to have this without DEFAULT_ENVIRONMENT_GENERIC_NEW
>> support. Similar options depend on this as well.
>>
>> Signed-off-by: Ahmad Fatoum <ahmad@xxxxxx>
> 
> Thanks, this is useful!
> 
> For both:
> Tested-by: Roland Hieber <rhi@xxxxxxxxxxxxxx>

Thanks for testing. If you like it, you can check
https://lore.pengutronix.de/barebox/20210412071651.8769-13-a.fatoum@xxxxxxxxxxxxxx/T/#u
to see it in action.

It's used to conditionally skip tests if a config option isn't available
(with a fallback to the build-time .config).

Cheers,
Ahmad

> 
>> ---
>>  common/Kconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/common/Kconfig b/common/Kconfig
>> index 2872c80dbf13..bddf802d3bb4 100644
>> --- a/common/Kconfig
>> +++ b/common/Kconfig
>> @@ -943,6 +943,7 @@ config DEFAULT_ENVIRONMENT_GENERIC_NEW_REBOOT_MODE
>>  
>>  config DEFAULT_ENVIRONMENT_GENERIC_NEW_IKCONFIG
>>  	bool "Ship .config as /env/data/config"
>> +	depends on DEFAULT_ENVIRONMENT_GENERIC_NEW
>>  	help
>>  	  This option embeds the used barebox Kconfig .config file into the
>>  	  environment as /env/data/config. This will increases barebox image
>> -- 
>> 2.31.0
>>
>>
>> _______________________________________________
>> barebox mailing list
>> barebox@xxxxxxxxxxxxxxxxxxx
>> http://lists.infradead.org/mailman/listinfo/barebox
>>
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux