linux: Add dependency on host-module-init-tools

In order to not depend on module init tools being installed on the
development environment of the Buildroot user, let's build module init
tools for the host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2010-06-05 21:26:18 +02:00
parent dcc08e84a5
commit dc4d5647a5
2 changed files with 3 additions and 1 deletions

View File

@ -111,7 +111,7 @@ $(LINUX26_DIR)/.stamp_installed: $(LINUX26_DIR)/.stamp_compiled
fi
$(Q)touch $@
linux26: $(LINUX26_DEPENDENCIES) $(LINUX26_DIR)/.stamp_installed
linux26: host-module-init-tools $(LINUX26_DEPENDENCIES) $(LINUX26_DIR)/.stamp_installed
ifeq ($(BR2_LINUX_KERNEL),y)
TARGETS+=linux26

View File

@ -17,3 +17,5 @@ MODULE_INIT_TOOLS_AUTORECONF=YES
HOST_MODULE_INIT_TOOLS_AUTORECONF=YES
$(eval $(call AUTOTARGETS,package,module-init-tools))
$(eval $(call AUTOTARGETS,package,module-init-tools,host))