diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-10 03:20:04 +0200 |
commit | 1b8dfe266937a37a4c642f96ceb2347bf4c00a17 (patch) | |
tree | 0c6aab146bb3c82efd9c7846a9a4e70dcb0ec84f /meta-initramfs/classes/klibc.bbclass | |
download | meta-openembedded-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta-initramfs/classes/klibc.bbclass')
-rw-r--r-- | meta-initramfs/classes/klibc.bbclass | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass new file mode 100644 index 0000000000..ca741cd8b7 --- /dev/null +++ b/meta-initramfs/classes/klibc.bbclass | |||
@@ -0,0 +1,15 @@ | |||
1 | # klcc-cross depends on klibc | ||
2 | DEPENDS =+ "klcc-cross" | ||
3 | |||
4 | # Default for klcc is to build static binaries. | ||
5 | # Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version. | ||
6 | |||
7 | export CC = "${TARGET_PREFIX}klcc" | ||
8 | export CC_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc -march=armv4 -mthumb-interwork" | ||
9 | |||
10 | export CPP = "${CC} -E" | ||
11 | |||
12 | # klcc uses own optimizations by default. See klcc(1) man file. | ||
13 | export CFLAGS="" | ||
14 | export CPPFLAGS="" | ||
15 | export LDFLAGS="" | ||