-include $(TOPDIR).config
endif
+ifndef CROSS
+CROSS=$(subst ",, $(strip $(CROSS_COMPILE)))
+endif
+
# A nifty macro to make testing gcc features easier
check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \
then echo "$(1)"; else echo "$(2)"; fi)
menu "uClibc development/debugging options"
+config CROSS_COMPILE
+ string "Cross-compiling toolchain prefix"
+ default ""
+ help
+ The prefix used to execute your cross-compiling toolchain. For
+ example, if you run 'arm-linux-uclibc-gcc' to compile something,
+ then enter 'arm-linux-uclibc-' here.
+
config DODEBUG
bool "Build uClibc with debugging symbols"
default n