aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2011-08-12 06:10:09 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2011-08-17 09:21:11 +0200
commit378adecafc750a1f31b2048d8fcc819e6beb3dc4 (patch)
tree1f3a0b1c969500577fd75de43617318dab20775a /meta-oe/classes
parent3c0d5e432125a13981d5e7393b503617765b3e7c (diff)
downloadmeta-openembedded-378adecafc750a1f31b2048d8fcc819e6beb3dc4.tar.gz
meta-openembedded-378adecafc750a1f31b2048d8fcc819e6beb3dc4.tar.bz2
meta-openembedded-378adecafc750a1f31b2048d8fcc819e6beb3dc4.zip
klibc.bbclass: shared include for building against klibc
* from org.openembedded.dev * reworked in meta-zaurus * added missing quotes * explain more clearly why the compiler/linker flags are reset Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/klibc.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-oe/classes/klibc.bbclass b/meta-oe/classes/klibc.bbclass
new file mode 100644
index 000000000..d553bd760
--- /dev/null
+++ b/meta-oe/classes/klibc.bbclass
@@ -0,0 +1,9 @@
+# klcc-cross depends on klibc
+DEPENDS =+ "klcc-cross"
+
+export CC = "${TARGET_PREFIX}klcc"
+
+# klcc uses own optimizations by default. See klcc(1) man file.
+export CFLAGS=""
+export CPPFLAGS=""
+export LDFLAGS=""