[yocto] Recipe changes to pull/fetch the source code from local instead of a remote server.
Aravindhlal G.S.S
aravindhlalgss at embedur.com
Wed May 3 01:29:23 PDT 2017
Alex,
Please see the recipe here.
SUMMARY = "HAL for RDK CCSP components"
HOMEPAGE = "http://github.com/belvedere-yocto/hal"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=175792518e4ac015ab6696d16c4f607e"
PROVIDES = "virtual/ccsp-hal"
SRC_URI = "${RDKB_CCSP_ROOT_GIT}/hal/generic;protocol=${RDK_GIT_PROTOCOL};branch=${CCSP_GIT_BRANCH};name=hal"
SRCREV_hal = "${AUTOREV}"
SRCREV_FORMAT = "hal"
PV = "${RDK_RELEASE}+git${SRCPV}"
S = "${WORKDIR}/git"
CFLAGS_prepend = "-I${S}/include"
inherit autotools
I went through the link as well, however I don't see the variables (EXTERNALSRC<http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-EXTERNALSRC>, EXTERNALSRC_BUILD<http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-EXTERNALSRC_BUILD>) are defined in the recipes.
Thanks
-Aravindh
-----Original Message-----
From: Alexander Kanavin [mailto:alexander.kanavin at linux.intel.com]
Sent: 03 May 2017 12:42
To: yocto at yoctoproject.org; Aravindhlal G.S.S
Subject: Re: [yocto] Recipe changes to pull/fetch the source code from local instead of a remote server.
On 05/03/2017 08:16 AM, Aravindhlal G.S.S wrote:
> I am trying to make changes in the bitbake files(recipes) to
> pull/fetch the source code from the local instead of the remote
> server. The SRC_URI points to the local workspace, however I see that
> while building the source code is pulled from a remote repository.
Can you copy-paste the recipe here? Or at least what the SRC_URI specifically says? You can obfuscate your project name etc, if that is confidential.
> Do I need to make any specific changes in the recipes or any conf
> files under build directory (auto.conf) ? Could you please let me your
> pointers/suggestions ?
Maybe this?
http://www.yoctoproject.org/docs/2.2/dev-manual/dev-manual.html#building-software-from-an-external-source
> [Gentle reminder]
> Can someone help me here, please ?
It's more difficult to provide help, if you describe the issue in generic terms, maybe that's why there was no reaction.
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170503/65621103/attachment.html>
More information about the yocto
mailing list