diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2011-08-12 06:10:09 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-08-17 09:21:11 +0200 |
commit | 378adecafc750a1f31b2048d8fcc819e6beb3dc4 (patch) | |
tree | 1f3a0b1c969500577fd75de43617318dab20775a /meta-oe | |
parent | 3c0d5e432125a13981d5e7393b503617765b3e7c (diff) | |
download | meta-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.bbclass | 9 |
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 | ||
2 | DEPENDS =+ "klcc-cross" | ||
3 | |||
4 | export CC = "${TARGET_PREFIX}klcc" | ||
5 | |||
6 | # klcc uses own optimizations by default. See klcc(1) man file. | ||
7 | export CFLAGS="" | ||
8 | export CPPFLAGS="" | ||
9 | export LDFLAGS="" | ||