aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs/classes
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 /meta-initramfs/classes
parent18e00acea100b2de3440078d76f7da391e54b4b4 (diff)
downloadmeta-openembedded-contrib-bee7d3c80dc9166fdd352945de6edf2ae8c4a6ae.tar.gz
meta-openembedded-contrib-bee7d3c80dc9166fdd352945de6edf2ae8c4a6ae.tar.bz2
meta-openembedded-contrib-bee7d3c80dc9166fdd352945de6edf2ae8c4a6ae.zip
klibc.bbclass: add a note about default of building -static
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'meta-initramfs/classes')
-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 ee49879223..ca741cd8b7 100644
--- a/meta-initramfs/classes/klibc.bbclass
+++ b/meta-initramfs/classes/klibc.bbclass
@@ -1,6 +1,9 @@
# klcc-cross depends on klibc
DEPENDS =+ "klcc-cross"
+# Default for klcc is to build static binaries.
+# Set CC = "${TARGET_PREFIX}klcc -shared" to build the dynamic version.
+
export CC = "${TARGET_PREFIX}klcc"
export CC_armv4_linux-gnueabi = "${TARGET_PREFIX}klcc -march=armv4 -mthumb-interwork"