[uClinux-dev] [patch] fix building dhcpcd-new with sanitized headers

Mike Frysinger vapier at gentoo.org
Wed May 30 22:08:33 EDT 2007


On Wednesday 30 May 2007, David McCullough wrote:
> Jivin Gavin Lambert lays it down ...
>
> > Quoth Mike Frysinger:
> > > then why not integrate it into the configure script ?  have it test to
> > > see if the ledman.h header exists and if so, it'll define
> > > HAVE_LINUX_LEDMAN_H like every other non-standard header file
> >
> > The code in question probably predates 'configure' actually working with
> > the dist :)
>
> The code in question has been there since 2.0 kernels,  and predates
> configure working by many years.
>
> > > you mean the dist requires unsanitized headers ... kernel headers are
> > > part of the toolchain, not part of the dist -mike
> >
> > Given that the kernel itself is part of the dist, and the toolchain is
> > not, this seems wrong.
>
> I agree,  the dist contains all the source,  the tool chain is what you
> use to build it.  For a long time you have been able to build systems
> with an elf compiler (no linux in the toolchain at all),

i'm not interested in the past and the history here is irrelevant

either dhcpcd-new can be fixed to use configure, or we can add the CPPFLAG 
thing i mentioned
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20070530/b914be7f/attachment.pgp


More information about the uClinux-dev mailing list