[uClibc] buildroot improvement questions

Thomas Cameron tom at drdabbles.us
Thu Mar 24 08:05:00 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nathanael Noblet wrote:
~ > One of the packages I am adding was libxml2. When compiling it, it
| failed because I had built uclibc without largefile support. Their
| configure scripts do not check for largefile and just use it I guess.
| They will accept a patch that makes it a configure switch. Which is
| fine, but then when I submit the libxml2.mk to buildroot maintainers, it
| will be hardcoded as disabled. So perhaps this is already there, but
| within the libxml2.mk file is there a way to check whether largefile
| support has been built into uclibc, this way I can either use the libxml
| configure switch to remove it, or add to CFLAGS -DNO_LARGEFILE_SOURCE
| before configure. Either one working.

If you go through the .mk files, you're going to see a line similar to this:

ifeq ($(BR2_LARGEFILE),y)

That line can be found all over the place. Seriously. In fact, I snagged
that snipped from the Busybox.mk file. It's good to see that you've been
adding packages to Buildroot, but I feel you should be looking at
packages that already exist to get a bit of background on what's going
on. If for nothing else, it will make writing .mk files MUCH
easier...and no doubt, you'll find things you need to go back and change.

Good luck.
- --
Tom Cameron
tom<at>drdabbles.us
http://drdabbles.us
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCQnSsO6EIpi17KSQRAn0eAKDM6ZArHb7iM4Zym9qBXv2pRUWv8ACeN4Z3
jYcnA7SSWQSMkw8j4luZyC8=
=88q7
-----END PGP SIGNATURE-----



More information about the uClibc mailing list