Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage1/syslinux
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-12 20:58:17 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-12 20:58:17 +0100
commitde11dde1ed2ee7892b9e79d404448a965ed0e8dc (patch)
tree0f948d5acb0a71906863c93ece12f95d4ddfb06d /i486-stage1/syslinux
parent9c18afe15a8138ed7e85fdd0ce84db505e234467 (diff)
added syslinux
Diffstat (limited to 'i486-stage1/syslinux')
-rw-r--r--i486-stage1/syslinux/DESCR15
1 files changed, 15 insertions, 0 deletions
diff --git a/i486-stage1/syslinux/DESCR b/i486-stage1/syslinux/DESCR
new file mode 100644
index 0000000..a542c39
--- /dev/null
+++ b/i486-stage1/syslinux/DESCR
@@ -0,0 +1,15 @@
+# disable python
+sed -i "/makedepends=/s/python2//" PKGBUILD
+sed -i "s/make PYTHON=python2/make/" PKGBUILD
+
+# take git from the host
+sed -i "/makedepends=/s/git//" PKGBUILD
+
+# no documentation
+sed -i "/makedepends=/s/asciidoc//" PKGBUILD
+
+# no upx compression
+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