summaryrefslogtreecommitdiffstats
path: root/target/linux/rules.mk
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-15 08:23:42 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-15 08:23:42 +0000
commit32a2f9b8ad2e45f248ac224324a56f2c84cb0c24 (patch)
tree7861ac97ee68e4dba8c59d7775efdd0adfe4612c /target/linux/rules.mk
parent4c90868bc938f5567d1cea36f536dcc61a141879 (diff)
fix kernel package and kernel modules dependency on it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2492 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rules.mk')
-rw-r--r--target/linux/rules.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/target/linux/rules.mk b/target/linux/rules.mk
index be151ea10..8871fa442 100644
--- a/target/linux/rules.mk
+++ b/target/linux/rules.mk
@@ -17,11 +17,7 @@ else
KDEPEND_$(1):=$($(4))
endif
-ifeq ($$(strip $(5)),)
-IDEPEND_$(1):=kernel-$(LINUX_VERSION)-$(BOARD) ($(PKG_RELEASE))
-else
-IDEPEND_$(1):=kernel-$(LINUX_VERSION)-$(BOARD) ($(PKG_RELEASE)), $(5)
-endif
+IDEPEND_$(1):=kernel ($(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)) $(foreach pkg,$(5),", $(pkg)")
PKG_$(1) := $(PACKAGE_DIR)/kmod-$(2)_$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)_$(ARCH).ipk
I_$(1) := $(PKG_BUILD_DIR)/ipkg/$(2)