summaryrefslogtreecommitdiffstats
path: root/rules/host-libkmod.make
blob: 56fd38d74d2bcd293290a8e55abb0fb3ca420153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -*-makefile-*-
#
# Copyright (C) 2012 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# 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-manpages \
	--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