summaryrefslogtreecommitdiff
path: root/i486-stage1
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-24 14:05:29 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-24 14:05:29 +0100
commit5af74548e741eab8fcf156f56850a5639043abac (patch)
tree4b1c2a3679b589d5b99bb831a48244e8e488cb08 /i486-stage1
parent428aebe60e7dd5664c53e9efb8cf2368397211b0 (diff)
downloadbootstrap32-5af74548e741eab8fcf156f56850a5639043abac.tar.xz
building all but syslinux, gcc and glibc
Diffstat (limited to 'i486-stage1')
-rw-r--r--i486-stage1/syslinux/DESCR6
1 files changed, 5 insertions, 1 deletions
diff --git a/i486-stage1/syslinux/DESCR b/i486-stage1/syslinux/DESCR
index a542c39..05c571a 100644
--- a/i486-stage1/syslinux/DESCR
+++ b/i486-stage1/syslinux/DESCR
@@ -1,4 +1,4 @@
-# disable python
+# disable python (take it from the host for generating the menues)
sed -i "/makedepends=/s/python2//" PKGBUILD
sed -i "s/make PYTHON=python2/make/" PKGBUILD
@@ -13,3 +13,7 @@ sed -i "/makedepends=/s/upx//" PKGBUILD
# use the cross compiler
sed -i "s/\(make \$_targets\)/\1 CC=$TARGET_ARCH-gcc AS=$TARGET_ARCH-as LD=$TARGET_ARCH-ld AR=$TARGET_ARCH-ar/" PKGBUILD
+
+# build BIOS version only for i486
+sed -i '/_targets/s/efi32//g' PKGBUILD
+sed -i '3!N; /prepare()/ a \ sed -i "/all_firmware :=/s/efi32 efi64//g" Makefile' PKGBUILD