From bf6343796e834183ff1b0c1b9416676e8488afa5 Mon Sep 17 00:00:00 2001 From: Rob Walker Date: Wed, 7 Mar 2012 12:25:53 +0100 Subject: Add SYSROOT, EXTRA_{LDFLAGS,LDLIBS} config opts; sample Android NDK config Signed-off-by: Rob Walker Signed-off-by: Denys Vlasenko --- Config.in | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'Config.in') diff --git a/Config.in b/Config.in index 79fe8ff9a..17bdc895a 100644 --- a/Config.in +++ b/Config.in @@ -600,12 +600,39 @@ config CROSS_COMPILER_PREFIX Native builds leave this empty. +config SYSROOT + string "Path to sysroot" + default "" + help + If you want to build BusyBox with a cross compiler, then you + might also need to specify where /usr/include and /usr/lib + will be found. + + For example, BusyBox can be built against an installed + Android NDK, platform version 9, for ARM ABI with + + CONFIG_SYSROOT=/opt/android-ndk/platforms/android-9/arch-arm + + Native builds leave this empty. + config EXTRA_CFLAGS string "Additional CFLAGS" default "" help Additional CFLAGS to pass to the compiler verbatim. +config EXTRA_LDFLAGS + string "Additional LDFLAGS" + default "" + help + Additional LDFLAGS to pass to the linker verbatim. + +config EXTRA_LDLIBS + string "Additional LDLIBS" + default "" + help + Additional LDLIBS to pass to the linker with -l. + endmenu menu 'Debugging Options' -- cgit v1.2.3