From: Thomas Petazzoni Date: Sat, 5 Jun 2010 19:26:18 +0000 (+0200) Subject: linux: Add dependency on host-module-init-tools X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc4d5647a528b366d88d4c6f94405c12a1aa0ebf;p=buildroot.git 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 --- diff --git a/linux/linux.mk b/linux/linux.mk index 3e91ecabaa..8b83e30661 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -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 diff --git a/package/module-init-tools/module-init-tools.mk b/package/module-init-tools/module-init-tools.mk index 3e8b06bde2..ea7c014dcc 100644 --- a/package/module-init-tools/module-init-tools.mk +++ b/package/module-init-tools/module-init-tools.mk @@ -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)) +