summaryrefslogtreecommitdiffstats
path: root/rules/host-libkmod.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-11-19 14:39:29 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-11-19 14:40:42 +0100
commit5de075e6e61eeaa5bf3d08a600e92d5a51ca68d6 (patch)
tree75771be5bdca6da5cc75db30e94a109362843e7f /rules/host-libkmod.make
parentbeae5c667a7f11d1631f69321d6201eac5003465 (diff)
downloadptxdist-5de075e6e61eeaa5bf3d08a600e92d5a51ca68d6.tar.gz
ptxdist-5de075e6e61eeaa5bf3d08a600e92d5a51ca68d6.tar.xz
change cross-libkmod -> host-libkmod
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-libkmod.make')
-rw-r--r--rules/host-libkmod.make47
1 files changed, 47 insertions, 0 deletions
diff --git a/rules/host-libkmod.make b/rules/host-libkmod.make
new file mode 100644
index 000000000..6a55cfdf4
--- /dev/null
+++ b/rules/host-libkmod.make
@@ -0,0 +1,47 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2012 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LIBKMOD) += host-libkmod
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_LIBKMOD_CONF_TOOL := autoconf
+HOST_LIBKMOD_CONF_OPT := \
+ $(HOST_AUTOCONF) \
+ --disable-static \
+ --enable-shared \
+ --enable-tools \
+ --disable-logging \
+ --disable-debug \
+ --disable-gtk-doc \
+ --disable-gtk-doc-html \
+ --disable-gtk-doc-pdf \
+ --without-xz \
+ --without-zlib
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-libkmod.install:
+ @$(call targetinfo)
+ @$(call world/install, HOST_LIBKMOD)
+ @ln -s ../bin/kmod $(HOST_LIBKMOD_PKGDIR)/sbin/depmod
+ @$(call touch)
+
+# vim: syntax=make