[OE-core] [PATCH] git: define NO_PYTHON=1 to stop git requiring python as a dependancy

Saul Wold sgw at linux.intel.com
Fri Sep 14 15:54:27 UTC 2012


On 09/13/2012 05:58 AM, Jack Mitchell wrote:
> From: Jack Mitchell <jack.mitchell at dbbroadcast.co.uk>
>
> Git requires python by default as an included script to link git
> to perforce is written in Python. Define NO_PYTHON to stop the
> script being included and thus remove the dependancy on Python.
>
> Signed-off-by: Jack Mitchell <jack.mitchell at dbbroadcast.co.uk>
> ---
>   meta/recipes-devtools/git/git.inc | 6 +++++-
>   1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
> index 6748b70..4a0c4aa 100644
> --- a/meta/recipes-devtools/git/git.inc
> +++ b/meta/recipes-devtools/git/git.inc
> @@ -10,7 +10,11 @@ S = "${WORKDIR}/git-${PV}"
>
>   LIC_FILES_CHKSUM = "file://COPYING;md5=7c0d7ef03a7eb04ce795b0f60e68e7e1"
>
> -EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl --without-tcltk"
> +EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
> +		--without-tcltk \
> +"
> +
> +EXTRA_OEMAKE = "NO_PYTHON=1"
>
>   inherit autotools perlnative
>
>

Merged into OE-Core

Thanks
	Sau!





More information about the Openembedded-core mailing list