[oe-commits] Andrea Adami : klibc.bbclass: shared include for building against klibc

git version control git at git.openembedded.org
Wed Aug 17 07:30:23 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: 378adecafc750a1f31b2048d8fcc819e6beb3dc4
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=378adecafc750a1f31b2048d8fcc819e6beb3dc4

Author: Andrea Adami <andrea.adami at gmail.com>
Date:   Fri Aug 12 06:10:09 2011 +0000

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 at gmail.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 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 0000000..d553bd7
--- /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=""





More information about the Openembedded-commits mailing list