summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Mitchell <jack.mitchell@dbbroadcast.co.uk>2012-09-13 13:58:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-14 09:49:53 +0100
commit602538e1c8403e8b188109ce94a906a1d9090d7e (patch)
treee1ea933bd9e6f873943724fd30df00a33ab9dee9
parent726c1617077da6b49606ac1a2cae64d2d02e6214 (diff)
downloadopenembedded-core-602538e1c8403e8b188109ce94a906a1d9090d7e.tar.gz
openembedded-core-602538e1c8403e8b188109ce94a906a1d9090d7e.tar.bz2
openembedded-core-602538e1c8403e8b188109ce94a906a1d9090d7e.zip
git: define NO_PYTHON=1 to stop git requiring python as a dependancy
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@dbbroadcast.co.uk> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-devtools/git/git.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 6748b70d24..4a0c4aaaef 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