[openwrt/openwrt] spidev_test: fix version for APK

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 11 03:35:09 PST 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/cdfe413d263409e33eda936c34c4338eed66b5a5

commit cdfe413d263409e33eda936c34c4338eed66b5a5
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Mon Nov 11 09:14:28 2024 +0100

    spidev_test: fix version for APK
    
    Refactor version of spidev_test for APK.
    
    Signed-off-by: Mieczyslaw Nalewaj <namiltd at yahoo.com>
    Link: https://github.com/openwrt/openwrt/pull/16917
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/utils/spidev_test/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/utils/spidev_test/Makefile b/package/utils/spidev_test/Makefile
index fef5c8f646..d264a8950a 100644
--- a/package/utils/spidev_test/Makefile
+++ b/package/utils/spidev_test/Makefile
@@ -9,7 +9,8 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 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_PARALLEL:=1
 
@@ -20,7 +21,7 @@ define Package/spidev-test
   CATEGORY:=Utilities
   DEPENDS:=+kmod-spi-dev
   TITLE:=SPI testing utility
-  VERSION:=$(LINUX_VERSION)-$(PKG_RELEASE)
+  VERSION:=$(LINUX_VERSION)-r$(PKG_RELEASE)
   URL:=http://www.kernel.org
 endef
 




More information about the lede-commits mailing list