working_dir=${YOCTO_WORKDIR}/tizen/proto-meta-Tizen_generic
manifest=tizen_common_manifest, tizen_common_fix
arch=x86_64
+buildtarget=x86_64-wayland
runtime_blacklist=runtime_tizen_common_blacklist
native_blacklist=native_tizen_common_blacklist
blacklist=tizen_common_blacklist, tmp_tizen_common_blacklist
default_git_src=review.tizen.org
priority=0
+[tizen_ivi_manifest]
+uri=http://download.tizen.org/snapshots/tizen/ivi/ivi/latest/
+default_git_src=review.tizen.org
+priority=0
+
[tizen_common_fix]
uri=https://raw.githubusercontent.com/eurogiciel-oss/openTizen_manifest_addon/master/Tizen/Common/devel/yocto/manifest_fix.xml
default_git_src=review.tizen.org
'''
return self.__get_value( projet, "arch", None )
+ def get_project_buildtarget(self, projet):
+ '''
+ return the default buildtarget of the project.
+ '''
+ return self.__get_value( projet, "buildtarget", None )
+
def get_working_dir( self, projet ):
'''
return the working dir of the project.
return arch_list
+def get_project_buildtarget(xml):
+ aElement = ElementTree.fromstring(xml)
+ buildtarget_list = []
+ for value in aElement:
+ for project in value.getiterator():
+ if project.tag == "buildtargets":
+ for buildtarget in project.getiterator():
+ if buildtarget.tag == "buildtarget":
+ buildtarget_list.append(buildtarget.text)
+
+ return buildtarget_list
def clean_name( raw_name ):
if "_" in raw_name:
xml_str = download_build_xml( meta_manifest_uri )
project_id = get_project_id( xml_str )
list_arch = get_project_arch( xml_str )
+ list_buildtarget = get_project_buildtarget(xml_str)
arch = SPEC2YOCTO_CONFIG.get_project_arch( self.__my_project )
- buildtarget = "x86_64-wayland"
+ buildtarget = SPEC2YOCTO_CONFIG.get_project_buildtarget(self.__my_project)
if ( arch == "i586" ) and ( "ia32" in list_arch ):
arch = "ia32"