summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-04-18 13:59:57 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-04-18 13:59:57 +0100
commit62dc341a1d71a14389781a54bf8f49bdf9d25d06 (patch)
treee02b21a50c3bff9ae32cb8329728d9d85a0cd7f1
parentd234ccf15a897024bb004d0f3a9a2f3b8d0976e6 (diff)
downloadlinux-user-chroot-baserock/bootstrap.tar.gz
linux-user-chroot: add bootstrap morphbaserock/bootstrap
linux-user-chroot needs a recent version of eglibc so that the headers include the right mount options. These are not in debian squeeze, which we start our bootstrap from, but we build eglibc which will have the headers. However the toolchain still looks in the squeeze chroot's environment for the headers, so we bodge the cflags to include the new headers.
-rw-r--r--linux-user-chroot.morph8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-user-chroot.morph b/linux-user-chroot.morph
new file mode 100644
index 0000000..73a6a0a
--- /dev/null
+++ b/linux-user-chroot.morph
@@ -0,0 +1,8 @@
+{
+ "name": "linux-user-chroot",
+ "kind": "chunk",
+ "build-system": "autotools",
+ "configure-commands": [
+ "CFLAGS=\"$CFLAGS -I$PREFIX/include\" sh autogen.sh --prefix=\"$PREFIX\""
+ ]
+}