summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2013-10-10 00:16:18 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-10-11 10:11:28 +0100
commitbee7d3c80dc9166fdd352945de6edf2ae8c4a6ae (patch)
treebf1da57c96fa3259dc64ea408528ca27030c51bf
parent18e00acea100b2de3440078d76f7da391e54b4b4 (diff)
downloadmeta-openembedded-bee7d3c80dc9166fdd352945de6edf2ae8c4a6ae.tar.gz
klibc.bbclass: add a note about default of building -static
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
-rw-r--r--meta-initramfs/classes/klibc.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-initramfs/classes/klibc.bbclass b/meta-initramfs/classes/klibc.bbclass
index ee4987922..ca741cd8b 100644
--- a/meta-initramfs/classes/klibc.bbclass
+++ b/meta-initramfs/classes/klibc.bbclass
@@ -1,6 +1,9 @@
1# klcc-cross depends on klibc 1# klcc-cross depends on klibc
2DEPENDS =+ "klcc-cross" 2DEPENDS =+ "klcc-cross"
3 3
4# Default for klcc is to build static binaries.
5# Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version.
6
4export CC = "${TARGET_PREFIX}klcc" 7export CC = "${TARGET_PREFIX}klcc"
5export CC_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc -march=armv4 -mthumb-interwork" 8export CC_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc -march=armv4 -mthumb-interwork"
6 9