]> code.ossystems Code Review - openembedded-core.git/commitdiff
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)
committerRobert Yang <liezhi.yang@windriver.com>
Sun, 26 Jan 2014 06:08:15 +0000 (14:08 +0800)
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 master rev: 315367ea9526186d5836c64867ce0cd40d9d8412)

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

index 94bc3266718d68b888468981766a992b3d965a42..21a69c7ee6cb0995bca5e636152a74d5b9ce8110 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