X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/39becdea7c0b220e0a315d3c862b5524df1f8465..4bb342946e09b8aabe702770055ec09985e78d1e:/openwrt/target/linux/rules.mk diff --git a/openwrt/target/linux/rules.mk b/openwrt/target/linux/rules.mk index be151ea10..758b52513 100644 --- a/openwrt/target/linux/rules.mk +++ b/openwrt/target/linux/rules.mk @@ -1,5 +1,6 @@ LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \ -e 's/mipsel/mips/' \ + -e 's/mipseb/mips/' \ -e 's/powerpc/ppc/' \ -e 's/sh[234]/sh/' \ ) @@ -17,11 +18,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)