From 7a8ea630d60aeb8a42fd90bd7441a7a6f9e7dff7 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 25 Apr 2015 09:06:14 +0000 Subject: [PATCH] angstrom-musl.inc: Add musl support to angstrom Signed-off-by: Khem Raj --- conf/distro/include/angstrom-musl.inc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 conf/distro/include/angstrom-musl.inc diff --git a/conf/distro/include/angstrom-musl.inc b/conf/distro/include/angstrom-musl.inc new file mode 100644 index 0000000..aec1986 --- /dev/null +++ b/conf/distro/include/angstrom-musl.inc @@ -0,0 +1,15 @@ +# musl: + +# The things uclibc can provide. We default to wanting uclibc to provide them. +# libc settings +DISTRO_FEATURES += "${@['', ' nls'][bb.data.getVar('ENABLE_BINARY_LOCALE_GENERATION', d, 1) == '1']}" +# FIXME: We enable IPv4 per default to avoid alot of breakage. +# FIXME: Figure out an acceptable way to negotiate either +# FIXME: desired features or hard requirements, either top-down or bottom-up. +DISTRO_FEATURES += " ipv4" + +USE_NLS_glib-2.0 = "yes" +USE_NLS_glib-2.0-native = "yes" +USE_NLS_gcc-cross = "no" + +TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel', 'mips64', 'mips64el', 'avr32']]}"