Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/packages-i486-stage1/kmod
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-03 22:07:26 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-03 22:07:26 +0100
commit7be0daa504d7c43e20dc5583350417bff8d0f474 (patch)
treef30f43d50cf6fab409e12887c57a71c291ca256d /packages-i486-stage1/kmod
parent1c13a88a004d30c0ad7f156df7ca19eb94353621 (diff)
added kmod, ineturils for linux, linux itself doesn't build yet
Diffstat (limited to 'packages-i486-stage1/kmod')
-rw-r--r--packages-i486-stage1/kmod6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages-i486-stage1/kmod b/packages-i486-stage1/kmod
new file mode 100644
index 0000000..6039431
--- /dev/null
+++ b/packages-i486-stage1/kmod
@@ -0,0 +1,6 @@
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
+
+# don't build documentation
+sed -i "/depends=/s/gtk-doc//" PKGBUILD
+sed -i "s/--enable-gtk-doc/--disable-gtk-doc/" PKGBUILD