summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/rules.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-11-15 08:23:42 +0000
committerNicolas Thill <nico@openwrt.org>2005-11-15 08:23:42 +0000
commit5de370fbe29d3d20ca8a79b5b61045d3c5cdc375 (patch)
tree0ee77f7a883d9ededfefc2ee872ac4a20eba5e7c /openwrt/target/linux/rules.mk
parent15e214dd89dea138ee1c976aa1bbef1f72217c7e (diff)
downloadmtk-20170518-5de370fbe29d3d20ca8a79b5b61045d3c5cdc375.zip
mtk-20170518-5de370fbe29d3d20ca8a79b5b61045d3c5cdc375.tar.gz
mtk-20170518-5de370fbe29d3d20ca8a79b5b61045d3c5cdc375.tar.bz2
fix kernel package and kernel modules dependency on it
SVN-Revision: 2492
Diffstat (limited to 'openwrt/target/linux/rules.mk')
-rw-r--r--openwrt/target/linux/rules.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/openwrt/target/linux/rules.mk b/openwrt/target/linux/rules.mk
index be151ea..8871fa4 100644
--- a/openwrt/target/linux/rules.mk
+++ b/openwrt/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)