libc/uClibc: Add CUSTOM version and CUSTOM_LOCATION config options and GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.
Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <712995e3e719fbbe24af.1349931201@localhost.localdomain>
PatchWork-Id: 190794
1 diff -durN gcc-4.4.5.orig/include/libiberty.h gcc-4.4.5/include/libiberty.h
2 --- gcc-4.4.5.orig/include/libiberty.h 2008-06-24 03:42:31.000000000 +0200
3 +++ gcc-4.4.5/include/libiberty.h 2010-10-09 23:01:30.000000000 +0200
5 /* Like sprintf but provides a pointer to malloc'd storage, which must
6 be freed by the caller. */
8 +/* asprintf may be declared as a macro by glibc with __USE_FORTIFY_LEVEL. */
10 extern int asprintf (char **, const char *, ...) ATTRIBUTE_PRINTF_2;
14 #if !HAVE_DECL_VASPRINTF
15 /* Like vsprintf but provides a pointer to malloc'd storage, which