klibc.bbclass: add new class to follow klibc refactoring
authorAndrea Adami <andrea.adami@gmail.com>
Sat, 21 Aug 2010 15:49:34 +0000 (17:49 +0200)
committerAndrea Adami <andrea.adami@gmail.com>
Sat, 21 Aug 2010 16:18:17 +0000 (18:18 +0200)
classes/klibc.bbclass [new file with mode: 0644]

diff --git a/classes/klibc.bbclass b/classes/klibc.bbclass
new file mode 100644 (file)
index 0000000..d684367
--- /dev/null
@@ -0,0 +1,9 @@
+# klcc-cross depends on klibc
+DEPENDS =+ "klcc-cross"
+
+export CC=${TARGET_PREFIX}klcc
+
+# reset inherited OE flags to avoid e.g. ggdb3 and keep size small
+export CFLAGS=""
+export CPPFLAGS=""
+export LDFLAGS=""