English 中文(简体)
• 如何建立Yocto recipe,以从当地某个来源建起?
原标题:How to setup an Yocto recipe to build from a local git source?

Hej

我正在与约克托、罗伯里·皮和我撰写的一些法典一道玩笑。 我想利用Yocto图像,包括我撰写的方案。 我愿知道,如何从一个地方的宝库中 set取 f。

我的发言很简单。 该法典有:

/home/user/git/myTest

我把该名录连接到载有我的日托美拉台reci的目录中。 该名录是:

/home/user/poky/meta-test/myApp/myTest

因为它是当地的一个宝库,它含有“git”的夹。

/home/user/git/myTest/.git

Inside the directory there are many files:

/home/user/git/myTest/CMakeLists.txt
/home/user/git/myTest/src/main.cpp
/home/user/git/myTest/src/...

我很想知道,如何安排我的reci,以利用 g子:

SUMMARY = "test"
SECTION = "app"
LICENSE = "CLOSED"

inherit cmake

SRCREV = "${AUTOREV}"

SRC_URI = "git://.git"

S = "${WORKDIR}/git"

I did check the Yocto/Bitbake documentation. But I did not find an example suited to do it. Any ideas?

最佳回答
问题回答

暂无回答




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签