[Buildroot] [git commit] virtual-package: fake a version string for virtual packages
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Apr 5 17:21:15 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=455a354c960f686c2ae9654ae0112fdc31bec686
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin at gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49 at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/pkg-virtual.mk | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/package/pkg-virtual.mk b/package/pkg-virtual.mk
index 9b206ea..617e5f2 100644
--- a/package/pkg-virtual.mk
+++ b/package/pkg-virtual.mk
@@ -44,6 +44,10 @@ endif
# A virtual package does not have any source associated
$(2)_SOURCE =
+# Fake a version string, so it looks nicer in the build log
+$(3)_VERSION = virtual
+HOST_$(3)_VERSION = virtual
+
# This must be repeated from inner-generic-package, otherwise we get an empty
# _DEPENDENCIES
$(2)_DEPENDENCIES ?= $(filter-out host-toolchain $(1),\
More information about the buildroot
mailing list