[oe-commits] Bernhard Reutner-Fischer : uclibc: handle some more {machine, distro}_features

git version control git at git.openembedded.org
Sat Feb 12 15:19:56 UTC 2011


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

Author: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Date:   Thu Jan 27 02:13:29 2011 +0000

uclibc: handle some more {machine, distro}_features

distro: xattr (posix extended attributes), ssp
machine: kernel24

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/uclibc/uclibc-config.inc |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/uclibc/uclibc-config.inc b/recipes/uclibc/uclibc-config.inc
index ef4385e..187f642 100644
--- a/recipes/uclibc/uclibc-config.inc
+++ b/recipes/uclibc/uclibc-config.inc
@@ -95,12 +95,15 @@ def uclibc_cfg(feature, features, tokens, cnf, rem):
 def features_to_uclibc_settings(d):
 	cnf, rem = ([], [])
 	distro_features = bb.data.getVar('DISTRO_FEATURES', d, True).split()
-	#machine_features = bb.data.getVar('MACHINE_FEATURES', d, True).split()
+	machine_features = bb.data.getVar('MACHINE_FEATURES', d, True).split()
 	uclibc_cfg('ipv4',      distro_features, 'UCLIBC_HAS_IPV4', cnf, rem)
 	uclibc_cfg('ipv6',      distro_features, 'UCLIBC_HAS_IPV6', cnf, rem)
 	uclibc_cfg('largefile', distro_features, 'UCLIBC_HAS_LFS', cnf, rem)
 	uclibc_cfg('nls',       distro_features, 'UCLIBC_HAS_LOCALE', cnf, rem)
 	uclibc_cfg('thumb-interwork', distro_features,'USE_BX', cnf, rem)
+	uclibc_cfg('xattr',     distro_features, 'UCLIBC_HAS_XATTR', cnf, rem)
+	uclibc_cfg('ssp',       distro_features, 'UCLIBC_HAS_SSP', cnf, rem)
+	uclibc_cfg('kernel24',  machine_features,'UCLIBC_LINUX_MODULE_24', cnf, rem)
 	return "\n".join(cnf), "\n".join(rem)
 # X, Y = ${@features_to_uclibc_settings(d)}
 # unfortunately doesn't seem to work with bitbake, workaround:





More information about the Openembedded-commits mailing list