Fixes:
http://autobuild.buildroot.net/results/5c0/
5c045a517ccdc97244a4cfca54465dc8d5fcc717
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
BSD-3-Clause (tests)
ERLANG_JIFFY_LICENSE_FILES = LICENSE
+# Set version manually in jiffy.app.src otherwise "git describe" is used.
+define ERLANG_JIFFY_SET_VERSION_HOOK
+ $(SED) 's/{vsn, git}/{vsn, "$(ERLANG_JIFFY_VERSION)"}/' $(@D)/src/jiffy.app.src
+endef
+ERLANG_JIFFY_POST_PATCH_HOOKS = ERLANG_JIFFY_SET_VERSION_HOOK
+
$(eval $(rebar-package))