All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] UML build process uses perl?  (With sed alternative.)
@ 2005-01-14  5:40 Rob Landley
  2005-01-19 18:55 ` Blaisorblade
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Landley @ 2005-01-14  5:40 UTC (permalink / raw)
  To: user-mode-linux-devel

I thought maybe the problem I'm having is due to running UML with a uclibc 
root on a glibc host system, so I tried to build UML in my chroot 
environment.

It died when it tried to use perl to build.

My uclibc environment hasn't got perl.  The normal linux kernel build doesn't 
use perl.  Neither do busybox, lilo, uClibc, zlib, dropbear, autoconf, 
automake, bin86, binutils, bison, cdrtools, e2fsprogs, flex, gcc, libtool, 
m4, make, nasm, the squashfs or zisofs tools, udev, or any of the other 
packages I build under the thing.

As far as I can tell, the following sed invocation will give more or less what 
the perl does, without a dependency on perl.  (Busybox has sed.)  It may need 
a bit of adapting to make the makefile happy (and adding config.tmp to make 
clean), but the concept seems to work...

sed -e 's/^.*$/"&\\n"/' /linux-2.6.9/.config > config.tmp
sed -e '/CONFIG/{' -e 's/"CONFIG"\;/""/' -e 'r config.tmp' -e 'a ""\;' \
	-e '}' config.c.in

Rob


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-01-21  0:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-14  5:40 [uml-devel] UML build process uses perl? (With sed alternative.) Rob Landley
2005-01-19 18:55 ` Blaisorblade
2005-01-20  3:44   ` Rob Landley
2005-01-20  6:25   ` Rob Landley
2005-01-21  0:31     ` Jeff Dike
2005-01-20 23:52       ` Rob Landley

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.