diff options
| author | Alexander Couzens <lynxis@fe80.eu> | 2017-11-17 01:10:21 +0100 |
|---|---|---|
| committer | Alexander Couzens <lynxis@fe80.eu> | 2017-11-17 12:34:09 +0100 |
| commit | 37d0627bd66cc2f1e7315e8b2f6b09d38ca168b1 (patch) | |
| tree | 9e661d30455c7ce8b9b0ef984e1d4fcaf9677ab5 /utils/openocd | |
| parent | a2de0d04b4be837f8da171af367e65d3e7b4d7cf (diff) | |
openocd: use release tar.bz2 instead of git
The release tar does not contain the srcdir/guess-rev.sh.
If it's not existant the configure scripts uses different
variables which removes the build timestamp.
Fixes reproducible builds.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'utils/openocd')
| -rw-r--r-- | utils/openocd/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/utils/openocd/Makefile b/utils/openocd/Makefile index 338c5d916..e6d4c8f94 100644 --- a/utils/openocd/Makefile +++ b/utils/openocd/Makefile @@ -8,15 +8,14 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openocd -PKG_VERSION:=v0.10.0 +PKG_SOURCE_VERSION:=0.10.0 +PKG_VERSION:=v$(PKG_SOURCE_VERSION) PKG_RELEASE:=1 -PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=git://git.code.sf.net/p/openocd/code -PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=$(PKG_VERSION) -PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.gz -PKG_MIRROR_HASH:=ef8a71daa581a3a2296fd3dafff21de2ca7b86319ec3a5c24ed6a216d1fdff45 +PKG_SOURCE_URL:=@SF/openocd +PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_VERSION).tar.bz2 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_SOURCE_VERSION) +PKG_HASH:=7312e7d680752ac088b8b8f2b5ba3ff0d30e0a78139531847be4b75c101316ae PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=COPYING |
