diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-15 14:52:26 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-15 14:52:26 +0200 |
commit | 367a55c7d7e31a8162e795edc343277f8eb35f38 (patch) | |
tree | eca33efbb4d1b4b83e59854a288aecc5fd622474 /Config.in | |
parent | 8ea061eac3207e5901bbe6032530e64d053df837 (diff) | |
download | busybox-w32-367a55c7d7e31a8162e795edc343277f8eb35f38.tar.gz busybox-w32-367a55c7d7e31a8162e795edc343277f8eb35f38.tar.bz2 busybox-w32-367a55c7d7e31a8162e795edc343277f8eb35f38.zip |
build system: FEATURE_LIBBUSYBOX_STATIC - try to pull libc/libm into libbusybox
It variously fails with different toolchains I tried...
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 43 |
1 files changed, 20 insertions, 23 deletions
@@ -386,29 +386,26 @@ config BUILD_LIBBUSYBOX | |||
386 | Build a shared library libbusybox.so.N.N.N which contains all | 386 | Build a shared library libbusybox.so.N.N.N which contains all |
387 | busybox code. | 387 | busybox code. |
388 | 388 | ||
389 | This feature allows every applet to be built as a tiny | 389 | This feature allows every applet to be built as a really tiny |
390 | separate executable. Enabling it for "one big busybox binary" | 390 | separate executable linked against the library: |
391 | approach serves no purpose and increases code size. | 391 | |
392 | You should almost certainly say "no" to this. | 392 | $ size 0_lib/l* |
393 | 393 | text data bss dec hex filename | |
394 | ### config FEATURE_FULL_LIBBUSYBOX | 394 | 939 212 28 1179 49b 0_lib/last |
395 | ### bool "Feature-complete libbusybox" | 395 | 939 212 28 1179 49b 0_lib/less |
396 | ### default n if !FEATURE_SHARED_BUSYBOX | 396 | 919138 8328 1556 929022 e2cfe 0_lib/libbusybox.so.1.N.M |
397 | ### depends on BUILD_LIBBUSYBOX | 397 | |
398 | ### help | 398 | This is useful on NOMMU systems which are not capable |
399 | ### Build a libbusybox with the complete feature-set, disregarding | 399 | of sharing executables, but are capable of sharing code |
400 | ### the actually selected config. | 400 | in dynamic libraries. |
401 | ### | 401 | |
402 | ### Normally, libbusybox will only contain the features which are | 402 | config FEATURE_LIBBUSYBOX_STATIC |
403 | ### used by busybox itself. If you plan to write a separate | 403 | bool "Pull in all external references into libbusybox" |
404 | ### standalone application which uses libbusybox say 'Y'. | 404 | default n |
405 | ### | 405 | depends on BUILD_LIBBUSYBOX |
406 | ### Note: libbusybox is GPL, not LGPL, and exports no stable API that | 406 | help |
407 | ### might act as a copyright barrier. We can and will modify the | 407 | Make libbusybox library independent, not using or requiring |
408 | ### exported function set between releases (even minor version number | 408 | any other shared libraries. |
409 | ### changes), and happily break out-of-tree features. | ||
410 | ### | ||
411 | ### Say 'N' if in doubt. | ||
412 | 409 | ||
413 | config FEATURE_INDIVIDUAL | 410 | config FEATURE_INDIVIDUAL |
414 | bool "Produce a binary for each applet, linked against libbusybox" | 411 | bool "Produce a binary for each applet, linked against libbusybox" |