Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] bitbake.conf: remove some redundant/unnecessary variable exports
@ 2012-01-04 13:09 Phil Blundell
  2012-01-04 14:52 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Phil Blundell @ 2012-01-04 13:09 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Specifically...

SLOT: apparently redundant, deleted.
STAGING_IDLDIR: likewise
QMAKE_MKSPEC_PATH: no longer exported, moved to qmake_base.bbclass
STAGING_SIPDIR: no longer exported, moved to sip.bbclass

Signed-off-by: Phil Blundell <philb@gnu.org>
---
 meta/classes/qmake_base.bbclass |    1 +
 meta/classes/sip.bbclass        |    2 ++
 meta/conf/bitbake.conf          |    7 -------
 3 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/meta/classes/qmake_base.bbclass b/meta/classes/qmake_base.bbclass
index b61b84c..d1008b6 100644
--- a/meta/classes/qmake_base.bbclass
+++ b/meta/classes/qmake_base.bbclass
@@ -1,3 +1,4 @@
+QMAKE_MKSPEC_PATH ?= "${STAGING_DATADIR_NATIVE}/qmake"
 
 OE_QMAKE_PLATFORM = "${TARGET_OS}-oe-g++"
 QMAKESPEC := "${QMAKE_MKSPEC_PATH}/${OE_QMAKE_PLATFORM}"
diff --git a/meta/classes/sip.bbclass b/meta/classes/sip.bbclass
index de0e2ef..3a00e4d 100644
--- a/meta/classes/sip.bbclass
+++ b/meta/classes/sip.bbclass
@@ -1,6 +1,8 @@
 # Build Class for Sip based Python Bindings
 # (C) Michael 'Mickey' Lauer <mickey@Vanille.de>
 #
+STAGING_SIPDIR ?= "${STAGING_DATADIR_NATIVE}/sip"
+
 DEPENDS  =+ "sip-native"
 RDEPENDS += "python-sip"
 
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 1c21616..b858364 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -606,9 +606,6 @@ export PATCH_GET="0"
 # Not sure about the rest of this yet.
 ##################################################################
 
-# slot - currently unused by OE. portage remnants
-SLOT = "0"
-
 # Other
 
 export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}/${libdir}/pkgconfig"
@@ -617,10 +614,6 @@ export PKG_CONFIG_LIBDIR = "${PKG_CONFIG_DIR}"
 export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
 export PKG_CONFIG_DISABLE_UNINSTALLED = "yes"
 
-export QMAKE_MKSPEC_PATH = "${STAGING_DATADIR_NATIVE}/qmake"
-export STAGING_SIPDIR = "${STAGING_DATADIR_NATIVE}/sip"
-export STAGING_IDLDIR = "${STAGING_DATADIR}/idl"
-
 # library package naming
 AUTO_LIBNAME_PKGS = "${PACKAGES}"
 
-- 
1.7.4.1






^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-04 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-04 13:09 [PATCH] bitbake.conf: remove some redundant/unnecessary variable exports Phil Blundell
2012-01-04 14:52 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox