All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] UML build process uses perl?  (With sed alternative.)
Date: Fri, 14 Jan 2005 00:40:56 -0500	[thread overview]
Message-ID: <200501140040.56592.rob@landley.net> (raw)

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

             reply	other threads:[~2005-01-14  6:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-14  5:40 Rob Landley [this message]
2005-01-19 18:55 ` [uml-devel] UML build process uses perl? (With sed alternative.) 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200501140040.56592.rob@landley.net \
    --to=rob@landley.net \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.