Browse Source

virtual-package: fake a version string for virtual packages

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Yann E. MORIN 11 years ago
parent
commit
455a354c96
1 changed files with 4 additions and 0 deletions
  1. 4 0
      package/pkg-virtual.mk

+ 4 - 0
package/pkg-virtual.mk

@@ -44,6 +44,10 @@ endif
 # A virtual package does not have any source associated
 # A virtual package does not have any source associated
 $(2)_SOURCE =
 $(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
 # This must be repeated from inner-generic-package, otherwise we get an empty
 # _DEPENDENCIES
 # _DEPENDENCIES
 $(2)_DEPENDENCIES ?= $(filter-out host-toolchain $(1),\
 $(2)_DEPENDENCIES ?= $(filter-out host-toolchain $(1),\