summaryrefslogtreecommitdiffstats
path: root/meta-oe
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
parent3c0d5e432125a13981d5e7393b503617765b3e7c (diff)
downloadmeta-openembedded-378adecafc750a1f31b2048d8fcc819e6beb3dc4.tar.gz
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')
-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 @@
1# klcc-cross depends on klibc
2DEPENDS =+ "klcc-cross"
3
4export CC = "${TARGET_PREFIX}klcc"
5
6# klcc uses own optimizations by default. See klcc(1) man file.
7export CFLAGS=""
8export CPPFLAGS=""
9export LDFLAGS=""