300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
24 lines
803 B
Makefile
24 lines
803 B
Makefile
#############################################################
|
|
#
|
|
# module-init-tools
|
|
#
|
|
#############################################################
|
|
MODULE_INIT_TOOLS_VERSION=3.12
|
|
MODULE_INIT_TOOLS_SOURCE=module-init-tools-$(MODULE_INIT_TOOLS_VERSION).tar.bz2
|
|
MODULE_INIT_TOOLS_SITE=$(BR2_KERNEL_MIRROR)/linux/utils/kernel/module-init-tools/
|
|
MODULE_INIT_TOOLS_CONF_ENV = ac_cv_prog_DOCBOOKTOMAN=''
|
|
MODULE_INIT_TOOLS_CONF_OPT = \
|
|
--disable-static-utils \
|
|
--disable-builddir \
|
|
--program-transform-name=''
|
|
|
|
# module-init-tools-3.11-add-manpages-config-option.patch is modifying
|
|
# configure.ac and Makefile.am
|
|
MODULE_INIT_TOOLS_AUTORECONF=YES
|
|
HOST_MODULE_INIT_TOOLS_AUTORECONF=YES
|
|
HOST_MODULE_INIT_TOOLS_CONF_ENV = ac_cv_prog_DOCBOOKTOMAN=''
|
|
|
|
$(eval $(call AUTOTARGETS))
|
|
$(eval $(call AUTOTARGETS,host))
|
|
|