summaryrefslogtreecommitdiff
path: root/i486-stage1
diff options
context:
space:
mode:
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