summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README15
-rw-r--r--TODOS2
-rwxr-xr-xbuild_stage1.sh3
-rw-r--r--i486-stage1/libunwind/DESCR9
-rw-r--r--i486-stage1/strace/DESCR2
5 files changed, 15 insertions, 16 deletions
diff --git a/README b/README
index 8f9434d..2adc0da 100644
--- a/README
+++ b/README
@@ -172,7 +172,7 @@ PACKAGES=" \
# TODO: iputils is for ping only, a little bit too many packages for
# that.
sysfsutils libidn nettle iputils"
-# libunwind and systrace for debugging
+# systrace for debugging
# sysfsutils and libidn, nettle for iputils
SYSROOT_PACKAGES=" \
@@ -184,19 +184,6 @@ sysfsutils libidn"
###################################
-
-# libunwind
-sed -i 's@./configure@./configure --host=i486-unknown-linux-gnu --build=x86_64-pc-linux-gnu@g' libunwind/PKGBUILD
-# no TeX, no docu
-sed -i "/makedepends=/s/'texlive-core'//g" libunwind/PKGBUILD
-
-# strace
-sed -i 's@./configure@./configure --host=i486-unknown-linux-gnu --build=x86_64-pc-linux-gnu@g' strace/PKGBUILD
-
-
-
-
-
# libidn
sed -i 's@./configure@./configure --host=i486-unknown-linux-gnu --build=x86_64-pc-linux-gnu@g' libidn/PKGBUILD
diff --git a/TODOS b/TODOS
index 0bd197a..ff69de7 100644
--- a/TODOS
+++ b/TODOS
@@ -32,4 +32,4 @@
the /etc/ssl/certs/ and the ca-certificates.crt, but it doens't get installed?!
- make: recursive tarkets like all-recursive don't work, neither with cross-compiled
make nor with the recompiled make on the stage1 system. No clue why?!
-
+- some packages get build more than onces (linux-api-headers, pacman-mirrorlist)
diff --git a/build_stage1.sh b/build_stage1.sh
index b4f5857..3565ea6 100755
--- a/build_stage1.sh
+++ b/build_stage1.sh
@@ -21,7 +21,8 @@ kbd procps-ng shadow
inetutils bc kmod linux uinit
net-tools libmnl libnfnetlink iptables iproute2
libedit openssh
-make mpfr gawk libmpc binutils gcc glibc"
+make mpfr gawk libmpc binutils gcc glibc
+libunwind strace"
for p in $PACKAGES; do
"$SCRIPT_DIR/build_stage1_package.sh" "$p" || exit 1
diff --git a/i486-stage1/libunwind/DESCR b/i486-stage1/libunwind/DESCR
new file mode 100644
index 0000000..ddd7d98
--- /dev/null
+++ b/i486-stage1/libunwind/DESCR
@@ -0,0 +1,9 @@
+# libunwind is needed by strace
+SYSROOT_INSTALL=1
+
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
+
+# no TeX, no docu
+sed -i "/makedepends=/s/'texlive-core'//" PKGBUILD
+
diff --git a/i486-stage1/strace/DESCR b/i486-stage1/strace/DESCR
new file mode 100644
index 0000000..8ed7de8
--- /dev/null
+++ b/i486-stage1/strace/DESCR
@@ -0,0 +1,2 @@
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD