All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Low priority request for info about alternative to #ifdef
@ 2017-03-21 14:08 James Chargin
  2017-04-07 19:52 ` James Chargin
  0 siblings, 1 reply; 2+ messages in thread
From: James Chargin @ 2017-03-21 14:08 UTC (permalink / raw)
  To: u-boot

Hi

I've seen periodic discussion on the U-Boot mailing list of alternatives 
to #ifdef. I need a bit more information about one specific alternative, 
but in my searches of the source for 2017.03, I can't find examples that 
might help me. Also, my memory of this is a dim so I'm not sure I'm 
looking for the right thing.

Is there something that is similar to "#ifdef CONFIG_*" but looks more 
like "if_defined(CONFIG_*)" and relies on compile/link time elimination 
of unused code?

Thanks for your time.

Jim
-- 
Jim Chargin
AJA Video Systems                       jimc at aja.com
(530) 271-3334                          http://www.aja.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Low priority request for info about alternative to #ifdef
  2017-03-21 14:08 [U-Boot] Low priority request for info about alternative to #ifdef James Chargin
@ 2017-04-07 19:52 ` James Chargin
  0 siblings, 0 replies; 2+ messages in thread
From: James Chargin @ 2017-04-07 19:52 UTC (permalink / raw)
  To: u-boot

Did I make a mistake including "Low priority" in the subject?

If anyone remembers this discussion, I'd appreciate a pointer.

Thanks,
Jim

On 03/21/2017 07:08 AM, James Chargin wrote:
> Hi
>
> I've seen periodic discussion on the U-Boot mailing list of alternatives
> to #ifdef. I need a bit more information about one specific alternative,
> but in my searches of the source for 2017.03, I can't find examples that
> might help me. Also, my memory of this is a dim so I'm not sure I'm
> looking for the right thing.
>
> Is there something that is similar to "#ifdef CONFIG_*" but looks more
> like "if_defined(CONFIG_*)" and relies on compile/link time elimination
> of unused code?
>
> Thanks for your time.
>
> Jim

-- 
Jim Chargin
AJA Video Systems                       jimc at aja.com
(530) 271-3334                          http://www.aja.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-07 19:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-21 14:08 [U-Boot] Low priority request for info about alternative to #ifdef James Chargin
2017-04-07 19:52 ` James Chargin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.