From 12b5b0124b1c575a28e06a684d74631d85590bf3 Mon Sep 17 00:00:00 2001 From: Hans-Christian Egtvedt Date: Wed, 5 Nov 2008 12:59:32 +0000 Subject: linux26: make installation of modules rule depend on .depend_done This patch will make the installation of modules rule depend on .depend_done instead of .configured to make sure make prepare is run before modules are installed. Make kernelversion does not work before make prepare has been run. Signed-off-by: Hans-Christian Egtvedt --- target/linux/Makefile.in.advanced | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/Makefile.in.advanced') diff --git a/target/linux/Makefile.in.advanced b/target/linux/Makefile.in.advanced index 38b7c7906..ae4e2ce3e 100644 --- a/target/linux/Makefile.in.advanced +++ b/target/linux/Makefile.in.advanced @@ -391,7 +391,7 @@ $(LINUX26_KERNEL): $(LINUX26_DIR)/$(LINUX26_BINLOC) touch -c $@ # ----------------------------------------------------------------------------- -$(PROJECT_BUILD_DIR)/autotools-stamps/linux_modules_target_installed: $(LINUX26_DIR)/.configured +$(PROJECT_BUILD_DIR)/autotools-stamps/linux_modules_target_installed: $(LINUX26_DIR)/.depend_done rm -rf $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION_PROBED) rm -f $(TARGET_DIR)/sbin/cardmgr # Make Linux depend on modules only if enabled in the .config. -- cgit v1.2.3