summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/linux/linux.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/linux/linux.mk b/package/linux/linux.mk
index 69f45a0d2..9a1670f2d 100644
--- a/package/linux/linux.mk
+++ b/package/linux/linux.mk
@@ -104,9 +104,9 @@ $(STAGING_DIR)/include/linux/version.h: $(LINUX_DIR)/.configured
tar -ch -C $(LINUX_DIR)/include -f - linux | tar -xf - -C $(STAGING_DIR)/include/
tar -ch -C $(LINUX_DIR)/include -f - asm | tar -xf - -C $(STAGING_DIR)/include/
-linux: $(STAGING_DIR)/include/linux/version.h $(LINUX_DIR)/.modules_done linux-modules-root
+linux: $(LINUX_DIR)/.modules_done $(TARGET_MODULES_DIR)
-linux-modules-root:
+$(TARGET_MODULES_DIR):
-mkdir -p $(TARGET_MODULES_DIR)
cp $(LINUX_DIR)/drivers/net/wl/wl.o $(TARGET_MODULES_DIR)
cp $(LINUX_DIR)/drivers/net/et/et.o $(TARGET_MODULES_DIR)