summaryrefslogtreecommitdiffstats
path: root/rules/cross-module-init-tools.make
blob: 74374b1a73541102f463c8504914390df269b5bd (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
# -*-makefile-*-
#
# Copyright (C) 2006 by Marc Kleine-Budde <mkl@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
#
CROSS_PACKAGES-$(PTXCONF_CROSS_MODULE_INIT_TOOLS) += cross-module-init-tools

#
# Paths and names
#
CROSS_MODULE_INIT_TOOLS_DIR	= $(CROSS_BUILDDIR)/$(MODULE_INIT_TOOLS)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
CROSS_MODULE_INIT_TOOLS_CONFTOOL := autoconf

CROSS_MODULE_INIT_TOOLS_MAKE_OPT := depmod

# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------

$(STATEDIR)/cross-module-init-tools.install:
	@$(call targetinfo)
	install -D -m 755 $(CROSS_MODULE_INIT_TOOLS_DIR)/build/depmod $(CROSS_MODULE_INIT_TOOLS_PKGDIR)/sbin/$(PTXCONF_GNU_TARGET)-depmod
	@$(call touch)

# vim: syntax=make