uboot-layerscape-armv8_32b: fix package download
authorHauke Mehrtens <hauke@hauke-m.de>
Wed, 20 Dec 2017 20:54:18 +0000 (21:54 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 20 Dec 2017 20:54:18 +0000 (21:54 +0100)
In commit 2b1ec44dbd3cd3 ("layerscape: add ls1012afrdm device support")
The git revision and the mirror hash for this package was updated to a
version which includes ls1012afrdm-uboot.bin, but the file name at
dl/uboot-layerscape-armv8_32b-2017.09.tar.xz staid the same. This way
most user did not download the new version but used the old file.
Convert this package to the normal git clone parameters by using
PKG_SOURCE_DATE instated of PKG_VERSION, now the file name in dl also
contains the git hash and should change every time the git hash is
updated.

This should fix a problem spotted by build bot.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-layerscape-armv8_32b/Makefile

index 8427bee8456ae6b86339aa1314645cbf829b9535..d1ca8291737f44fde2a9b6912aa967e1ab4bb470 100644 (file)
@@ -8,7 +8,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=uboot-layerscape-armv8_32b
-PKG_VERSION:=2017.09
+PKG_SOURCE_DATE:=2017-10-24
 PKG_RELEASE:=1
 
 # Layerscape ARMv8 platforms use 64-bit u-boot to support both 32-bit and 64-bit
@@ -18,7 +18,7 @@ PKG_RELEASE:=1
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/yangbolu1991/u-boot-lede.git
 PKG_SOURCE_VERSION:=43cb4c0fcab237f8daa39c393cc1441b76b99fcf
-PKG_MIRROR_HASH:=f0ef74cd0a4aecd727e8c4046b50a869ddec8a4f382da77475ec433f86cdc39a
+PKG_MIRROR_HASH:=ff7d1fcb85dda2be6a9e3785821b5791c7189d2d412b160a9621bb2dcad24dea
 
 PKG_MAINTAINER:=Yangbo Lu <yangbo.lu@nxp.com>