summaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRob Walker2012-03-07 12:25:53 +0100
committerDenys Vlasenko2012-03-07 12:25:53 +0100
commitbf6343796e834183ff1b0c1b9416676e8488afa5 (patch)
treee11f8b6ebc11f3d7223716f523d87eb07fef7263 /Config.in
parent69d81a1c1b2e4881b751ee24f8eb70c0dfaa05d9 (diff)
downloadbusybox-bf6343796e834183ff1b0c1b9416676e8488afa5.zip
busybox-bf6343796e834183ff1b0c1b9416676e8488afa5.tar.gz
Add SYSROOT, EXTRA_{LDFLAGS,LDLIBS} config opts; sample Android NDK config
Signed-off-by: Rob Walker <rwalker@rwalker.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/Config.in b/Config.in
index 79fe8ff..17bdc89 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'