layerscape: fix package download
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 21 Dec 2017 08:32:51 +0000 (09:32 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 21 Dec 2017 09:02:16 +0000 (10:02 +0100)
The git hash was changed for multiple layerscape packages without
changing the version number. The LEDE build system will not download the
packages again if the old version is already there and so some people
and the build bots are using wrong version of some packages. Use
PKG_SOURCE_DATE instead of PKG_VERSION to generate packages with the
date and the first charterers of the git hash. This will change the file
name and make the build system download them again, also if in future
the git hash is changed the file name will change and trigger a new
download.

This should fix a problem spotted by build bot.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-layerscape/Makefile
package/firmware/layerscape/fman-ucode/Makefile
package/firmware/layerscape/ls-dpl/Makefile
package/firmware/layerscape/ls-mc/Makefile
package/firmware/layerscape/ls-ppa/Makefile
package/firmware/layerscape/ls-rcw/Makefile
package/firmware/layerscape/ppfe-firmware/Makefile
package/network/utils/layerscape/restool/Makefile

index 3eb5fb2007cc1ea56efa59009501a22afd4eba8d..c37b335b49a25595c430db764c92ae8bc65798f4 100644 (file)
@@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=uboot-layerscape
-PKG_VERSION:=2017.09
+PKG_SOURCE_DATE:=2017-08-24
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/qoriq-open-source/u-boot.git
 PKG_SOURCE_VERSION:=fbedf04c1bad675eadbac86febdcf759441a02af
-PKG_MIRROR_HASH:=4f92c93ce1258c54c314a8259c6849ca62f035f36fe1ddb6f7851281c2f5c244
+PKG_MIRROR_HASH:=29922f83ce3e8dde163eafcfd07f3595e2779b7a3e8eb43640f058f58248718d
 
 include $(INCLUDE_DIR)/u-boot.mk
 include $(INCLUDE_DIR)/package.mk
index e2969323e425bcca145ec8de84030c40e23b495b..aa2601b26026834345373fb3910319d96141f4c9 100644 (file)
@@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/image.mk
 
 PKG_NAME:=fman-ucode
-PKG_VERSION:=2017.09
+PKG_SOURCE_DATE:=2017-02-13
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/qoriq-open-source/fm-ucode.git
 PKG_SOURCE_VERSION:=c275e91392e2adab1ed22f3867b8269ca3c54014
-PKG_MIRROR_HASH:=80d8d2454063b7f730ef49d7a44be8f8870711ee5109c53a0881b62026037a37
+PKG_MIRROR_HASH:=1a4611d528f67f3acfa88aefdec9a9a67d96a3139ac5fe1089f599272e6c4a52
 
 PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
 
index f305dfbf9ccd7238ec8bd9d4e01878957c333ada..c3e2f096a99c28cb24ffea28518c322612170d4f 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ls-dpl
-PKG_VERSION:=2017.09
+PKG_SOURCE_DATE:=2017-09-07
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/qoriq-open-source/dpl-examples.git
 PKG_SOURCE_VERSION:=a6c83759c0d9c02822eec89e86357a0998ef51d4
-PKG_MIRROR_HASH:=3c5fdaa18e24ce8d6d5569eefd110c4b9a7b504a676341e7225a361a17e4e447
+PKG_MIRROR_HASH:=d0311591843fbf9faebc7e2f0d53cba47d42ef21c4407c5881f354df6c458ce5
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
 
index 377ac0a3d14079a53cd13822530f4c545eab898e..eb58dd70a4ae2eef7f036eee7255a0f607805b0f 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ls-mc
-PKG_VERSION:=2017.09
+PKG_SOURCE_DATE:=2014-07-04
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/qoriq-open-source/mc-binary.git
 PKG_SOURCE_VERSION:=824745fe1580b281bebb808321c3f41353a3140a
-PKG_MIRROR_HASH:=9c8e154cf070b2ddd1198646ae9c6a7fc148a241b4b1d49f6c6f16aa01b67f16
+PKG_MIRROR_HASH:=984c7905af3a4b87b72263de9220901c531fe064f0b89dd2882676354e09ed16
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
 
index 52fa06de530dc8ee5db440834ee83b926b2a884c..a354ad1a9b641b2a457ced03c7018c7cf7eb1e3a 100644 (file)
@@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/image.mk
 
 PKG_NAME:=ls-ppa
-PKG_VERSION:=2017.09
+PKG_SOURCE_DATE:=2017-10-26
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/yangbolu1991/ppa-binary.git
 PKG_SOURCE_VERSION:=76a80ca988affbee67bb17096aefb82ba6d91be7
-PKG_MIRROR_HASH:=76be14a8be9e01036a0e103c8e86d40a6ce4c1a7504930d0d9da54a570744be3
+PKG_MIRROR_HASH:=55e6cfa0f03f2db667ed4270e5aaf43ab830343af3b9724f92e830a1e3a3a25f
 
 PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
 
index e479d4d2244d2ffa4b08f9d19e748caf8e731623..b0d582ef20f2fe049525ac9d0718e8f3051ccacd 100644 (file)
@@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/image.mk
 
 PKG_NAME:=ls-rcw
-PKG_VERSION:=2017.09
+PKG_SOURCE_DATE:=2017-09-26
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/qoriq-open-source/rcw.git
 PKG_SOURCE_VERSION:=6719b046ee87b04026fe163e6c8fbbebba2186aa
-PKG_MIRROR_HASH:=555a0bda7236b6a0e9eb9337ec41ad140987e4def7e73c759699e415e31158b9
+PKG_MIRROR_HASH:=9645ecf148640ec7d1029bce65950f2a0b0e6b351a25ef60c8a839c42c6ed56d
 
 PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
 
index 431cf262358c7b97a690daa7ca43c8c1380186ca..419201e87e3efa3dc5c2a255c05f4ac29dbf04e5 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ppfe
-PKG_VERSION:=2017.09
+PKG_SOURCE_DATE:=2017-10-13
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/qoriq-open-source/engine-pfe-bin.git
 PKG_SOURCE_VERSION:=97cd13d3070d7199e62881bc495b332194b67edd
-PKG_MIRROR_HASH:=1ef60cdac49dd57c76ec9ef01d00f6eeb025ba62f0d75f54adeeb3362f5edad2
+PKG_MIRROR_HASH:=3457bfe7201a8410443f34d4bb5fa67d4ff19e2d0f3957e84e3f20e2ae3fa34a
 
 PKG_FLAGS:=nonshared
 
index 93408611522c23e4a243dfbcaba5da67ce63b219..988bc8075c6e4f8d8fbc781fb12c5f490defbf9e 100644 (file)
@@ -9,13 +9,13 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=restool
-PKG_VERSION:=2017.09
+PKG_SOURCE_DATE:=2017-10-23
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/qoriq-open-source/restool.git
 PKG_SOURCE_VERSION:=8f08b9d499e84f9057784c2036f0ddf75ae3fc70
-PKG_MIRROR_HASH:=ff672b420041deac190cc9ddf314c52ec325567c429bc0aca3c692b2c7dc818f
+PKG_MIRROR_HASH:=29f70ad27c7ab20bc018f0d0b11c680fcf8b829d10e5af5c30af4a3f9228a2fc
 
 include $(INCLUDE_DIR)/package.mk