spidev_test: fix version for APK
Refactor version of spidev_test for APK. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16917 Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
parent
40b8fbaa97
commit
cdfe413d26
|
@ -9,7 +9,8 @@ include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_NAME:=spidev-test
|
PKG_NAME:=spidev-test
|
||||||
PKG_RELEASE:=$(LINUX_VERSION)
|
PKG_VERSION:=$(LINUX_VERSION)
|
||||||
|
PKG_RELEASE:=1
|
||||||
PKG_BUILD_DIR:=$(LINUX_DIR)/tools/spi-$(TARGET_DIR_NAME)
|
PKG_BUILD_DIR:=$(LINUX_DIR)/tools/spi-$(TARGET_DIR_NAME)
|
||||||
PKG_BUILD_PARALLEL:=1
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
|
@ -20,7 +21,7 @@ define Package/spidev-test
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
DEPENDS:=+kmod-spi-dev
|
DEPENDS:=+kmod-spi-dev
|
||||||
TITLE:=SPI testing utility
|
TITLE:=SPI testing utility
|
||||||
VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
|
VERSION:=$(LINUX_VERSION)-r$(PKG_RELEASE)
|
||||||
URL:=http://www.kernel.org
|
URL:=http://www.kernel.org
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue