mtd-rw: drop PKG_VERSION definition in Makefile
[feed/packages.git] / kernel / mtd-rw / Makefile
index a424de74f5e8b0a66c9a6bd25f0c68aa86329897..b18b91c2215a8fa10a8eb4568a25cd182568a6f1 100644 (file)
@@ -9,16 +9,16 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=mtd-rw
-PKG_VERSION:=git-20160214
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_MIRROR_HASH:=c44db17c3e05079116a1704f277642c9ce6f5ca4fa380c60f7e6d44509dc16be
 PKG_SOURCE_URL:=https://github.com/jclehner/mtd-rw.git
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION=7e8562067d6a366c8cbaa8084396c33b7e12986b
+PKG_SOURCE_VERSION:=7e8562067d6a366c8cbaa8084396c33b7e12986b
 
-PKG_MAINTAINER=Joseph C. Lehner <joseph.c.lehner@gmail.com>
+PKG_MAINTAINER:=Joseph C. Lehner <joseph.c.lehner@gmail.com>
 PKG_LICENSE=GPL-2.0
 PKG_LICENSE_FILES=LICENSE
 
@@ -28,6 +28,7 @@ define KernelPackage/mtd-rw
        SUBMENU:=Other modules
        TITLE:=Write-enabler for MTD partitions
        FILES:=$(PKG_BUILD_DIR)/mtd-rw.ko
+       DEPENDS:=@!(TARGET_x86||TARGET_bcm27xx||TARGET_octeontx)
 endef
 
 define KernelPackage/mtd-rw/description