ltp makefile does not interpret correctly the result of git describe
command and assumes that it is working with a git repo, while in fact
working with a source code archive.
Added a patch to corect makefile system.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
--- /dev/null
+Index: ltp-20120401/Makefile
+===================================================================
+--- ltp-20120401.orig/Makefile
++++ ltp-20120401/Makefile
+@@ -173,7 +173,7 @@ SRCDIR_INSTALL_TARGETS := $(SRCDIR_INSTA
+ #
+ .PHONY: Version
+ Version:
+- if git describe &> /dev/null; then \
++ if git describe > /dev/null 2>&1; then \
+ git describe > "$@"; \
+ else \
+ cp VERSION "$@"; \
DEPENDS = "attr"
-PR = "r3"
+PR = "r4"
SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.bz2 \
- "
+ file://fix_building_fom_archive.patch"
SRC_URI[md5sum] = "e1d0acf1a6b6da0cb30dc1b0dcf5f26d"
SRC_URI[sha256sum] = "f0f5845f9666f61332fdf0b7e396fc647f9372db0902a829af2cf9402b807bd1"