[Buildroot] Depending on uClibc configuration variables

Daniel Mack zonque at gmail.com
Wed Jul 13 14:26:22 UTC 2011


On Wed, Jul 13, 2011 at 9:12 AM, Peter Korsgaard <jacmet at uclibc.org> wrote:
>>>>>> "Daniel" == Daniel Mack <zonque at gmail.com> writes:
>
>  Daniel> Is there a clever way to depend on variables set in the uClibc
>  Daniel> configuration directly in package Config.in files? Something like
>  Daniel> UCLIBC_HAS_EPOLL for example?
>
> Unfortunately not. We have tweaked the default uClibc config so that all
> packages should build (or patched packages where needed), so it normally
> shouldn't be needed.
>
> I consider using a custom uClibc configuration an advanced feature,
> where the user is supposed to know what they are doing (tm).

The thing is that I have been teaching new DNS lookup functions to
libuClibc which will be built depending on a new config variable
switch. The puropose for this is to make connman build in buildroot,
and I have it running here already. However, to prevent breakage, I
would like to depend on this new uClibc configuration directive, so
people can't select the new package unless they have a recent uClibc
with this new option selected. How would I do this?


Thanks,
Daniel


More information about the buildroot mailing list