简体   繁体   English

如何建立tizen源?

[英]How to build tizen source?

I have downloaded all the sources of tizen OS from their web site. 我已从他们的网站下载了tizen OS的所有来源。 It consists of about 1040 projects. 它包含大约1040个项目。 Now I want to build the whole projects. 现在我想建立整个项目。 In their website they mentioned that we have to use gbs (git build system) to build the sources. 在他们的网站上,他们提到我们必须使用gbs(git build system)来构建源代码。 As they told I have set the configuration file and tried to build. 正如他们告诉我已经设置配置文件并尝试构建。 But I m not able to build and I was getting messages like,. 但我无法建立,我收到的消息,如,。

"fatal: ref HEAD is not a symbolic ref"

and I was getting errors when it tries to build all the x86 packages. 当我试图构建所有x86包时,我遇到了错误。 I didn't modified tizen code, and still I m getting these errors. 我没有修改tizen代码,但我仍然遇到这些错误。

This is because your working branch name is (nobranch), please checkout to correct/existing branch in your repo. 这是因为您的工作分支名称是(nobranch),请检查您的仓库中的正确/现有分支。

Check your branch using 使用检查您的分支

git branch

It will show you no branch 它会告诉你没有分支

Checkout correct branch that you want to build using 签出要使用构建的正确分支

git checkout branchname

And you can't build x86 pkgs using gbs, but you can build i586 or armv7l pkgs using gbs. 你不能使用gbs构建x86 pkgs,但你可以使用gbs构建i586armv7l pkgs。

You need to download the whole package set using repo and then build the right branch (ie: tizen) using gbs along profile repo's ... 您需要使用repo下载整个软件包,然后使用gbs沿着配置文件repo构建正确的分支(即:tizen)...

Or consider to build using yocto if profile supported 或者考虑使用yocto构建,如果支持配置文件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM