From: Ronan Le Martret Date: Tue, 9 Apr 2013 14:28:43 +0000 (+0200) Subject: - solve xorg-x11-proto-core. X-Git-Tag: rev_0.4~378 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44f48b76ff2a0e4553a742c9457e4b1f89d1119a;p=scm%2Fbb%2Ftizen.git - solve xorg-x11-proto-core. --- diff --git a/Tizen_TZ_package/spec2yocto.py b/Tizen_TZ_package/spec2yocto.py index 305bd3f..cf2d8a2 100755 --- a/Tizen_TZ_package/spec2yocto.py +++ b/Tizen_TZ_package/spec2yocto.py @@ -228,8 +228,10 @@ class specParser: macroPath+=os.path.join("/usr/share/spec2yocto/macro",dir)+" " command += " --macros=\"%s\" " % macroPath - - command += " --define='buildroot ${D}' " + if (self.__packagePN is not None) and (self.__packagePN.endswith("-native")): + command += " --define='buildroot ${D}${STAGING_DIR}/${HOST_SYS}' " + else: + command += " --define='buildroot ${D}' " command += " --define='setup #setup' " command += " --define='setup0 #setup0' " diff --git a/meta-tizen-ivi/classes/tizenBuildUtils.bbclass b/meta-tizen-ivi/classes/tizenBuildUtils.bbclass index a532b9b..eb1d234 100644 --- a/meta-tizen-ivi/classes/tizenBuildUtils.bbclass +++ b/meta-tizen-ivi/classes/tizenBuildUtils.bbclass @@ -69,6 +69,7 @@ do_install_prepend () { echo export HOST_SYS=${HOST_SYS} >> ${S}/../temp/Bash_install if [[ ${PN} =~ "-native" ]]; then + echo export STAGING_DIR=${STAGING_DIR} >> ${S}/../temp/Bash_install echo export RPM_BUILD_ROOT=${D}${STAGING_DIR}/${HOST_SYS} >> ${S}/../temp/Bash_install else echo export RPM_BUILD_ROOT=${D} >> ${S}/../temp/Bash_install diff --git a/meta-tizen-ivi/recipes-tizen/xorg-x11-proto-core/xorg-x11-proto-core-extraconf.inc b/meta-tizen-ivi/recipes-tizen/xorg-x11-proto-core/xorg-x11-proto-core-extraconf.inc index e69de29..c49ab1f 100644 --- a/meta-tizen-ivi/recipes-tizen/xorg-x11-proto-core/xorg-x11-proto-core-extraconf.inc +++ b/meta-tizen-ivi/recipes-tizen/xorg-x11-proto-core/xorg-x11-proto-core-extraconf.inc @@ -0,0 +1 @@ +DEPENDS += "xorg-x11-xutils-dev-native"