summaryrefslogtreecommitdiff
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-02-14 00:41:37 -0800
committerSaul Wold <sgw@linux.intel.com>2011-02-14 05:33:19 -0800
commite95ab29d3b47fab6f10c317f5ac4ca8f3012cbac (patch)
treeda6df868847b56ac73fafd2b50bec12147514399 /meta/classes/kernel.bbclass
parenta26163b8f5fc682e6ee4d597e5dd487485b180f5 (diff)
downloadopenembedded-core-e95ab29d3b47fab6f10c317f5ac4ca8f3012cbac.tar.gz
openembedded-core-e95ab29d3b47fab6f10c317f5ac4ca8f3012cbac.tar.bz2
openembedded-core-e95ab29d3b47fab6f10c317f5ac4ca8f3012cbac.zip
kernel.bbclass: add approproate X Environment variables to allow xterm to start
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 2ae2dcbe5c..a1b1354788 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -198,6 +198,9 @@ kernel_do_configure() {
}
do_menuconfig() {
+ export DISPLAY='${DISPLAY}'
+ export DBUS_SESSION_BUS_ADDRESS='${DBUS_SESSION_BUS_ADDRESS}'
+ export XAUTHORITY='${XAUTHORITY}'
export TERMWINDOWTITLE="${PN} Kernel Configuration"
export SHELLCMDS="make menuconfig"
${TERMCMDRUN}