nativesdk.bbclass: support nativesdk to override with the PACKAGES_DYNAMIC statement
authorHongxu Jia <hongxu.jia@windriver.com>
Tue, 3 Dec 2013 06:03:50 +0000 (06:03 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Dec 2013 21:36:33 +0000 (21:36 +0000)
While compiling nativesdk-mtools, there was failure:
...
Nothing PROVIDES 'nativesdk-glibc-gconv-ibm850'. Close matches:
...
This patch supports nativesdk to override with the PACKAGES_DYNAMIC statement

[YOCTO #5623]
(From OE-Core rev: 315367ea9526186d5836c64867ce0cd40d9d8412)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/nativesdk.bbclass

index 94bc326..21a69c7 100644 (file)
@@ -81,6 +81,7 @@ python () {
     clsextend.map_depends_variable("DEPENDS")
     clsextend.map_packagevars()
     clsextend.map_variable("PROVIDES")
+    clsextend.map_regexp_variable("PACKAGES_DYNAMIC")
 }
 
 addhandler nativesdk_virtclass_handler