aboutsummaryrefslogtreecommitdiff
path: root/meta-initramfs/classes/klibc.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta-initramfs/classes/klibc.bbclass')
-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 0000000..d553bd7
--- /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=""