diff options
author | Rosen Penev <rosenp@gmail.com> | 2018-06-10 15:18:17 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2018-10-29 19:15:13 -0700 |
commit | 8cb040543af163b01429438cfcd558bbe150701c (patch) | |
tree | 942ef28d4c974dd63517d3fc0d87564b16421d8b /utils/spi-tools/Makefile | |
parent | 52ca8c9922f03e95a1a7c78a1351ae8d78242d5e (diff) |
spi-tools: Update to 0.8.3
Previously, an old git revision was used. Moved to stable. Reorganized the Makefile as a result.
The stable version is based on a newer git revision. UScan can also properly track this now.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'utils/spi-tools/Makefile')
-rw-r--r-- | utils/spi-tools/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/utils/spi-tools/Makefile b/utils/spi-tools/Makefile index ce2b15e72..40bb88c0e 100644 --- a/utils/spi-tools/Makefile +++ b/utils/spi-tools/Makefile @@ -8,21 +8,18 @@ include $(TOPDIR)/rules.mk PKG_NAME:=spi-tools -PKG_VERSION:=1 +PKG_VERSION:=0.8.3 +PKG_RELEASE:=1 -PKG_RELEASE=$(PKG_SOURCE_VERSION) - -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=https://github.com/cpb-/spi-tools.git -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=cc6a41fdcec60610703ba6db488c621c64952898 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz -PKG_MIRROR_HASH:=3c37fde79ab09e9a590f4cdb55751083017197d0037a7c0dce56fceef5e05a21 +PKG_SOURCE_URL:=https://codeload.github.com/cpb-/spi-tools/tar.gz/$(PKG_VERSION)? +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_HASH:=1f29548187c5a57ca5902d260b01ca9ce04d93e4406ff77f317e1d6423ed3610 PKG_MAINTAINER:=John Crispin <blogic@openwrt.org> - PKG_LICENSE:=GPL-2.0 -PKG_LICENSE_FILES:= +PKG_LICENSE_FILES:=LICENSE + +PKG_FIXUP:=autoreconf include $(INCLUDE_DIR)/package.mk @@ -32,8 +29,6 @@ define Package/spi-tools TITLE:=Command line SPI tools endef -EXTRA_CFLAGS+=-DVERSION=\"$(PKG_SOURCE_VERSION)\" - define Build/Compile cd $(PKG_BUILD_DIR) ; \ $(TARGET_CC) $(TARGET_CFLAGS) $(EXTRA_CFLAGS) -Wall -Werror -o spi-config src/spi-config.c ; \ |