From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Tue, 21 Oct 2008 15:50:16 -0400 Subject: [U-Boot] [PATCH][RFC] bootm: Added CONFIG_BOOTM_{LINUX, NETBSD, RTEMS} In-Reply-To: <48FE3181.3070402@ge.com> References: <1224520793-28186-1-git-send-email-galak@kernel.crashing.org> <20081021193505.305A2835694E@gemini.denx.de> <4DE53147-6FF6-4145-AB35-68D124CD20F8@kernel.crashing.org> <20081021194247.9418A835694E@gemini.denx.de> <48FE3181.3070402@ge.com> Message-ID: <48FE3278.2050405@ge.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jerry Van Baren wrote: > Wolfgang Denk wrote: >> Dear Kumar Gala, >> >> In message <4DE53147-6FF6-4145-AB35-68D124CD20F8@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