From 37d0627bd66cc2f1e7315e8b2f6b09d38ca168b1 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Fri, 17 Nov 2017 01:10:21 +0100 Subject: [PATCH] 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 --- utils/openocd/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/utils/openocd/Makefile b/utils/openocd/Makefile index 338c5d916b..e6d4c8f949 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 -- 2.30.2