packages: add infrastructure for virtual packages
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 5 Apr 2014 15:21:45 +0000 (17:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 5 Apr 2014 17:20:59 +0000 (19:20 +0200)
commit74398244120177f2c5aa0aa1bdeb4046e82e1584
treeb05261c69b1c9deeae6a5453bfddb3e38d927436
parent7862abad78934ed2a75cea6305163b4ae092b966
packages: add infrastructure for virtual packages

The virtual-package infrastructure allows to easily define a
virtual package in a single line:

    $ cat package/some-virtual-package/some-virtual-package.mk
    $(eval $(virtual-package))

And that's all. :-)

Thanks to Éric for his work on the manual, that prompted the
idea for this virtual-package infrastructure! ;-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Mike Zick <minimod@morethan.org>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Makefile.in
package/pkg-virtual.mk [new file with mode: 0644]