CONFIG_* defines

Rob Landley rob at landley.net
Sat Sep 10 03:05:25 UTC 2005


On Thursday 08 September 2005 14:57, Bernhard Fischer wrote:

> >> .bb_depend
> >
> >Brrrr.
>
> sounds interresting!

Seconded.  Unfortunately my interest and my skill level here don't match.  I'm 
still getting up to speed on our make infrastructure.

> >Result:
>
> $ make
> cc -g -Wall  -c bb_mkdep.c
> lex -obb_mkdepl.c trivial.l
> cc -g -Wall  -c bb_mkdepl.c
> trivial.l: In function 'full_restart':
> trivial.l:101: error: 'YY_FLUSH_BUFFER' undeclared (first use in this
> function)
> trivial.l:101: error: (Each undeclared identifier is reported only once
> trivial.l:101: error: for each function it appears in.)
> make: *** [bb_mkdepl.o] Error 1
> $
>
> I must be doing something wrong, i assume?

I don't know if this is related, but I'm still trying to beat confdata.c into 
shape so it only spits out one of each symbol even with all symbols revealed 
(even in hidden menus).  I basically need to find duplicates and boolean or 
them together, only it's not quite being that simple when I try...

Of course I could trivially through a "sort -ur" into the thing when 
generating bb_config.h (since then #define would come after #undef, and would 
win...), but that doesn't fix config.h.

Working on it.  Real life is intruding for a bit, as usual...

Rob



More information about the busybox mailing list