Multiple configuration scripts

Marco Braga marco.braga at gmail.com
Mon Feb 26 23:22:55 UTC 2007


Hello,

pardon me if this is a newbie question, but google did not help me.

I am trying to build a busybox based embedded system from scratch. I'd like
to use busybox in initramfs and in the main root fs. The first one should be
a minimal busybox statically linked, while in the main root fs I can put a
more complete one. Now, the question: is there any simple "make trick" to
compile BB using 2 separate config files instead of copying/linking
".config" to 2 separate configs?

Specifically, at the moment I've created 2 different config files, one for
initramfs and one for rootfs. The first one selects static linking, few
applets, and a specific initramfs target directory. The second config
selects a dynamic linked BB with complete apples and a different target dir.

Now, is there any simple and elegant way to edit and compile without having
to copy or link the configs to .config? Anything like, for example, "make
menuconfig initramfs.config"?
A script will work, but I am looking for the "official" way to do this.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20070227/dad98912/attachment-0001.htm 


More information about the busybox mailing list