aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs/classes
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2012-02-21 00:21:53 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-02-22 09:40:24 +0100
commit25c2e973e02ecc2a0aff4ccea8c53c42519ff5e3 (patch)
treee30b37fbe42d536c34b55bb6364e5f1ccde80108 /meta-initramfs/classes
parent59c8231315753b91a4ded9a615a3c855ef5e77de (diff)
downloadmeta-openembedded-contrib-25c2e973e02ecc2a0aff4ccea8c53c42519ff5e3.tar.gz
meta-openembedded-contrib-25c2e973e02ecc2a0aff4ccea8c53c42519ff5e3.tar.bz2
meta-openembedded-contrib-25c2e973e02ecc2a0aff4ccea8c53c42519ff5e3.zip
meta-initramfs: import klibc recipe and bbclass from meta-oe
Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-initramfs/classes')
-rw-r--r--meta-initramfs/classes/klibc.bbclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass
new file mode 100644
index 0000000000..d553bd760e
--- /dev/null
+++ b/meta-initramfs/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=""