]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake.conf: Add PACKAGE_BEFORE_PN to PACKAGES
authorSaul Wold <sgw@linux.intel.com>
Thu, 28 Jun 2012 20:33:42 +0000 (13:33 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Jul 2012 13:54:09 +0000 (14:54 +0100)
By doing this we can easily add addtional packages that can be
greedy before PN, but after some of the other standard packages.

This will also allow us to simplify the lib_package class to set
this variable.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/conf/bitbake.conf

index 050be2e76c26ec4c7044ec96c2cc26ba237c972c..3453a86875fdd2c03cb40c7526c710e5f72dba2a 100644 (file)
@@ -253,7 +253,8 @@ SOLIBSDEV_darwin = ".dylib"
 SOLIBSDEV_darwin8 = ".dylib"
 SOLIBSDEV_darwin9 = ".dylib"
 
-PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PN}"
+PACKAGE_BEFORE_PN ?= ""
+PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
 PACKAGES_DYNAMIC = "${PN}-locale-*"
 FILES = ""