diff options
author | Rob Walker <rwalker@rwalker.com> | 2012-03-07 12:25:53 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-03-07 12:25:53 +0100 |
commit | bf6343796e834183ff1b0c1b9416676e8488afa5 (patch) | |
tree | e11f8b6ebc11f3d7223716f523d87eb07fef7263 /Config.in | |
parent | 69d81a1c1b2e4881b751ee24f8eb70c0dfaa05d9 (diff) | |
download | busybox-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.in | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -600,12 +600,39 @@ config CROSS_COMPILER_PREFIX | |||
600 | 600 | ||
601 | Native builds leave this empty. | 601 | Native builds leave this empty. |
602 | 602 | ||
603 | config 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 | |||
603 | config EXTRA_CFLAGS | 618 | config 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 | ||
624 | config EXTRA_LDFLAGS | ||
625 | string "Additional LDFLAGS" | ||
626 | default "" | ||
627 | help | ||
628 | Additional LDFLAGS to pass to the linker verbatim. | ||
629 | |||
630 | config EXTRA_LDLIBS | ||
631 | string "Additional LDLIBS" | ||
632 | default "" | ||
633 | help | ||
634 | Additional LDLIBS to pass to the linker with -l. | ||
635 | |||
609 | endmenu | 636 | endmenu |
610 | 637 | ||
611 | menu 'Debugging Options' | 638 | menu 'Debugging Options' |