[oe-commits] Chris Larson : bitbake.conf: add HOSTNAME variable

git version control git at git.openembedded.org
Thu Oct 14 04:46:29 UTC 2010


Module: openembedded.git
Branch: master
Commit: 130ff506b5b0346c8fe6b18ec6388f78518b21e2
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=130ff506b5b0346c8fe6b18ec6388f78518b21e2

Author: Chris Larson <chris_larson at mentor.com>
Date:   Wed Oct 13 21:22:14 2010 -0700

bitbake.conf: add HOSTNAME variable

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 conf/bitbake.conf |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 573f7ff..0410355 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -640,6 +640,7 @@ IPKGBUILDCMD = "ipkg-build -o 0 -g 0"
 SLOT = "0"
 
 # Other
+export HOSTNAME := "${@os.uname()[1]}"
 
 export PKG_CONFIG_PATH = "${STAGING_LIBDIR}/pkgconfig:${STAGING_DATADIR}/pkgconfig"
 PKG_CONFIG_PATH .= ":${STAGING_LIBDIR_NATIVE}/pkgconfig:${STAGING_DATADIR_NATIVE}/pkgconfig"





More information about the Openembedded-commits mailing list