aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-12-14 13:31:50 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-14 13:34:27 +0100
commita2d833bf34a7a3a10d24956cd27d02958e2cca38 (patch)
tree8b17f02419b18a3f07988eea284de892dedc96b4 /package
parentf7a501e13ccf76814743ea7a5b46606762505c34 (diff)
downloadbuildroot-novena-a2d833bf34a7a3a10d24956cd27d02958e2cca38.tar.gz
buildroot-novena-a2d833bf34a7a3a10d24956cd27d02958e2cca38.zip
package/mtd-utils: fix git build after gitweb update
Reported by Daniel Mack <daniel@caiaq.de> The gitweb installation of infradead.org has been updated, and gitweb >= 1.6.6-rc1 adds the first 7 characters of the git SHA1 to the snapshot tarball directory name. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/mtd/mtd-utils.git/mtd.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/mtd/mtd-utils.git/mtd.mk b/package/mtd/mtd-utils.git/mtd.mk
index b7e584ea5..6cb45c29e 100644
--- a/package/mtd/mtd-utils.git/mtd.mk
+++ b/package/mtd/mtd-utils.git/mtd.mk
@@ -4,12 +4,14 @@
#
#############################################################
MTD_VERSION:=fcb52ccc99679460640386c297023f852b108f68
+# gitweb >= 1.6.6-rc1 uses first 7 chars of git SHA1 as dir suffix
+MTD_SHORT_VERSION=$(shell echo $(MTD_VERSION)|cut -c -7)
MTD_SOURCE:=mtd-utils-$(MTD_VERSION).tar.gz
MTD_URL:=http://git.infradead.org/mtd-utils.git?a=snapshot;h=$(MTD_VERSION);sf=tgz
MTD_HOST_DIR:= $(TOOLCHAIN_DIR)/mtd-utils-$(MTD_VERSION)
MTD_DIR:=$(BUILD_DIR)/mtd-utils-$(MTD_VERSION)
MTD_CAT:=$(ZCAT)
-MTD_NAME:=mtd-utils
+MTD_NAME:=mtd-utils-$(MTD_SHORT_VERSION)
#############################################################
#