[U-Boot] [PATCH][RFC] bootm: Added CONFIG_BOOTM_{LINUX, NETBSD, RTEMS}

Jerry Van Baren gerald.vanbaren at ge.com
Tue Oct 21 21:50:16 CEST 2008


Jerry Van Baren wrote:
> Wolfgang Denk wrote:
>> Dear Kumar Gala,
>>
>> In message <4DE53147-6FF6-4145-AB35-68D124CD20F8 at kernel.crashing.org> you wrote:
>>>>> +#define CONFIG_BOOTM_LINUX 1
>>>>> +#define CONFIG_BOOTM_NETBSD 1
>>>>> +#define CONFIG_BOOTM_RTEMS 1
>>>> The only somewhat reasonable thing I can come up with  is  to  add  a
>>>> "#define  CONFIG_BOOTM_LINUX"  to  all  board  config  files,  so all
>>>> support Linux by default, and leave it up to the board maintainers to
>>>> add additioonal OS support if needed.
>>>>
>>>> Comment?
>>> Hmm, can we hold off on this until we have Kconfig than?  It would be  
>>> much easier at that point rather me having to touch ~450 config.h's.
>> OK from my POV. Should we check in your patch as is, then?
>>
>> Best regards,
>>
>> Wolfgang Denk
> 
> Ugly but effective work-around would be to put in an appropriate location:
> /*
>   * Todo: REMOVE when Kconfig becomes real!
>   */
> #ifndef CONFIG_BOOTM_LINUX
> #define CONFIG_BOOTM_LINUX 1
> #endif

...or not.  I'm OK with it as is.  My #define hack is mostly useless.

gvb


More information about the U-Boot mailing list