aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRob Walker <rwalker@rwalker.com>2012-03-07 12:25:53 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2012-03-07 12:25:53 +0100
commitbf6343796e834183ff1b0c1b9416676e8488afa5 (patch)
treee11f8b6ebc11f3d7223716f523d87eb07fef7263 /Config.in
parent69d81a1c1b2e4881b751ee24f8eb70c0dfaa05d9 (diff)
downloadbusybox-w32-bf6343796e834183ff1b0c1b9416676e8488afa5.tar.gz
busybox-w32-bf6343796e834183ff1b0c1b9416676e8488afa5.tar.bz2
busybox-w32-bf6343796e834183ff1b0c1b9416676e8488afa5.zip
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 79fe8ff9a..17bdc895a 100644
--- a/Config.in
+++ b/Config.in
@@ -600,12 +600,39 @@ config CROSS_COMPILER_PREFIX
600 600
601 Native builds leave this empty. 601 Native builds leave this empty.
602 602
603config SYSROOT
604 string "Path to sysroot"
605 default ""
606 help
607 If you want to build BusyBox with a cross compiler, then you
608 might also need to specify where /usr/include and /usr/lib
609 will be found.
610
611 For example, BusyBox can be built against an installed
612 Android NDK, platform version 9, for ARM ABI with
613
614 CONFIG_SYSROOT=/opt/android-ndk/platforms/android-9/arch-arm
615
616 Native builds leave this empty.
617
603config EXTRA_CFLAGS 618config EXTRA_CFLAGS
604 string "Additional CFLAGS" 619 string "Additional CFLAGS"
605 default "" 620 default ""
606 help 621 help
607 Additional CFLAGS to pass to the compiler verbatim. 622 Additional CFLAGS to pass to the compiler verbatim.
608 623
624config EXTRA_LDFLAGS
625 string "Additional LDFLAGS"
626 default ""
627 help
628 Additional LDFLAGS to pass to the linker verbatim.
629
630config EXTRA_LDLIBS
631 string "Additional LDLIBS"
632 default ""
633 help
634 Additional LDLIBS to pass to the linker with -l.
635
609endmenu 636endmenu
610 637
611menu 'Debugging Options' 638menu 'Debugging Options'