On Monday 14 October 2013 12:43:34 Steve Ellcey wrote:
> I am new to building uclibc, but have experience building glibc and newlib,
> and I have a question about the best way to build multiple versions of
> uclibc from a script without any user interaction.

you have experience building the kernel though right ?  uClibc largely behaves 
the same as that.

> Currently, I run 'make defconfig' to create a default .config file and then
> use grep to modify the .config file before each build (strip out some lines
> and then append my versions back in).  I.e. I remove the ARCH_BIG_ENDIAN=y
> line and then add in a ARCH_LITTLE_ENDIAN=y line. to change from big-endian
> to little-endian or I may pick a different MIPS ABI.  But what I noticed is
> that when I run the normal 'make' command after modifying .config is that
> my .config changes are getting wiped out and .config is getting restored
> to a default state.

try `make oldconfig` first (assuming you pass ARCH=/etc... on the command line)

> Can someone explain why this is happening and if there is a way to prevent
> it?  Is there a better way to do multiple uclibc builds with different
> defaults and without requiring any user interaction?

usually the simplest thing is to create the .config files by hand as you care 
about them, and then use those when building

alternatively, we could update our kconfig snapshot to the latest kernel which 
would get use miniconfig support
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to