From ac7a0311825e20c544d17bfd8be63546ad36e665 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 18 Jul 2012 17:38:05 +0000 Subject: bitbake.conf: Define USRBINPATH globally instead of individually Many recipes are now having to define PERLPATH and PYTHONPATH variables. Creating USRBINPATH in bitbake.conf means we can remove all these lines from the many recipes now needing this and simplify the code changes needed in each case, reducing the chance of errors being introduced. Also fixup glib python binary location issue and fix function indentation. (From OE-Core rev: cf63d9068c3a8c635dfc240d30dfff278be9b0e2) Signed-off-by: Richard Purdie --- meta/conf/bitbake.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/conf') diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index c94012e665..1525e44b2c 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -66,6 +66,10 @@ localstatedir_nativesdk = "/var" # := is used carefully here # target_datadir := "${datadir}" +# Used to find env/perl/python +USRBINPATH = "${bindir}" +USRBINPATH_class-native = "/usr/bin" +USRBINPATH_class-nativesdk = "/usr/bin" ################################################################## # Architecture-dependent build variables. -- cgit v1.2.3-54-g00ecf