summaryrefslogtreecommitdiff
path: root/i486-stage1/kmod/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage1/kmod/DESCR')
-rw-r--r--i486-stage1/kmod/DESCR6
1 files changed, 6 insertions, 0 deletions
diff --git a/i486-stage1/kmod/DESCR b/i486-stage1/kmod/DESCR
new file mode 100644
index 0000000..6039431
--- /dev/null
+++ b/i486-stage1/kmod/DESCR
@@ -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