diff options
| author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-20 17:47:09 +0000 |
|---|---|---|
| committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-01-20 17:47:09 +0000 |
| commit | 3a92934f04fb736a84db01fc5c5d0de67e45f167 (patch) | |
| tree | 13fe6950993f732a0cb06a09398a415d3e3bd597 | |
| parent | e56c47c85e8272082ab47b299b70b68b9d522c9f (diff) | |
| download | busybox-w32-3a92934f04fb736a84db01fc5c5d0de67e45f167.tar.gz busybox-w32-3a92934f04fb736a84db01fc5c5d0de67e45f167.tar.bz2 busybox-w32-3a92934f04fb736a84db01fc5c5d0de67e45f167.zip | |
Zap sysdeps directory, moving Config.in and defconfig to top of tree.
(Busybox should not be system dependent enough to have different default
configurations for different platforms. We're not a kernel.)
git-svn-id: svn://busybox.net/trunk/busybox@13452 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -rw-r--r-- | Config.in (renamed from sysdeps/linux/Config.in) | 64 | ||||
| -rw-r--r-- | Makefile | 4 | ||||
| -rw-r--r-- | defconfig (renamed from sysdeps/linux/defconfig) | 0 | ||||
| -rw-r--r-- | scripts/config/confdata.c | 2 |
4 files changed, 9 insertions, 61 deletions
diff --git a/sysdeps/linux/Config.in b/Config.in index 1858b6081..3501ff767 100644 --- a/sysdeps/linux/Config.in +++ b/Config.in | |||
| @@ -9,10 +9,6 @@ config HAVE_DOT_CONFIG | |||
| 9 | bool | 9 | bool |
| 10 | default y | 10 | default y |
| 11 | 11 | ||
| 12 | config MODULES | ||
| 13 | bool | ||
| 14 | default y | ||
| 15 | |||
| 16 | menu "General Configuration" | 12 | menu "General Configuration" |
| 17 | 13 | ||
| 18 | choice | 14 | choice |
| @@ -168,35 +164,6 @@ config CONFIG_STATIC | |||
| 168 | 164 | ||
| 169 | Most people will leave this set to 'N'. | 165 | Most people will leave this set to 'N'. |
| 170 | 166 | ||
| 171 | config CONFIG_BUILD_LIBBUSYBOX | ||
| 172 | bool "Build shared libbusybox" | ||
| 173 | default y | ||
| 174 | help | ||
| 175 | Build a shared library libbusybox.so which contains all | ||
| 176 | libraries used inside busybox. | ||
| 177 | |||
| 178 | config CONFIG_FEATURE_FULL_LIBBUSYBOX | ||
| 179 | bool "Feature-complete libbusybox" | ||
| 180 | default n if !CONFIG_FEATURE_SHARED_BUSYBOX | ||
| 181 | depends on CONFIG_BUILD_LIBBUSYBOX | ||
| 182 | help | ||
| 183 | Build a libbusybox with the complete feature-set, disregarding | ||
| 184 | the actually selected config. | ||
| 185 | |||
| 186 | Normally, libbusybox will only contain the features which are | ||
| 187 | used by busybox itself. If you plan to write a separate | ||
| 188 | standalone application which uses libbusybox say 'Y'. | ||
| 189 | |||
| 190 | Say 'N' if in doubt. | ||
| 191 | |||
| 192 | config CONFIG_FEATURE_SHARED_BUSYBOX | ||
| 193 | bool "Use shared libbusybox for busybox" | ||
| 194 | default y if CONFIG_BUILD_LIBBUSYBOX | ||
| 195 | depends on !CONFIG_STATIC && CONFIG_BUILD_LIBBUSYBOX | ||
| 196 | help | ||
| 197 | Use libbusybox.so also for busybox itself. | ||
| 198 | You need to have a working dynamic linker to use this variant. | ||
| 199 | |||
| 200 | config CONFIG_LFS | 167 | config CONFIG_LFS |
| 201 | bool "Build with Large File Support (for accessing files > 2 GB)" | 168 | bool "Build with Large File Support (for accessing files > 2 GB)" |
| 202 | default n | 169 | default n |
| @@ -236,25 +203,6 @@ config EXTRA_CFLAGS_OPTIONS | |||
| 236 | if you want to add some simple compiler switches (like -march=i686), | 203 | if you want to add some simple compiler switches (like -march=i686), |
| 237 | or check for warnings using -Werror, just those options here. | 204 | or check for warnings using -Werror, just those options here. |
| 238 | 205 | ||
| 239 | config CONFIG_BUILD_AT_ONCE | ||
| 240 | bool "Compile all sources at once" | ||
| 241 | default n | ||
| 242 | help | ||
| 243 | Normally each source-file is compiled with one invocation of | ||
| 244 | the compiler. | ||
| 245 | If you set this option, all sources are compiled at once. | ||
| 246 | This gives the compiler more opportunities to optimize which can | ||
| 247 | result in smaller and/or faster binaries. | ||
| 248 | |||
| 249 | Setting this option will consume alot of memory, e.g. if you | ||
| 250 | enable all applets with all features, gcc uses more than 300MB | ||
| 251 | RAM during compilation of busybox. | ||
| 252 | |||
| 253 | This option is most likely only beneficial for newer compilers | ||
| 254 | such as gcc-4.1 and above. | ||
| 255 | |||
| 256 | Say 'N' unless you know what you are doing. | ||
| 257 | |||
| 258 | config CONFIG_FEATURE_SUSv2 | 206 | config CONFIG_FEATURE_SUSv2 |
| 259 | bool "Enable features that are in SuSv2 but not SuSv3?" | 207 | bool "Enable features that are in SuSv2 but not SuSv3?" |
| 260 | default y | 208 | default y |
| @@ -268,9 +216,7 @@ config CONFIG_FEATURE_SUSv2_OBSOLETE | |||
| 268 | depends on CONFIG_FEATURE_SUSv2 | 216 | depends on CONFIG_FEATURE_SUSv2 |
| 269 | default y | 217 | default y |
| 270 | help | 218 | help |
| 271 | Enable pre- SuSv2 features which are deprecated in SuSv2 and | 219 | Disables support for numeric arguments in fold. |
| 272 | above. | ||
| 273 | Disables support for e.g. numeric arguments in fold. | ||
| 274 | 220 | ||
| 275 | endmenu | 221 | endmenu |
| 276 | 222 | ||
| @@ -318,24 +264,26 @@ config PREFIX | |||
| 318 | help | 264 | help |
| 319 | Define your directory to install BusyBox files/subdirs in. | 265 | Define your directory to install BusyBox files/subdirs in. |
| 320 | 266 | ||
| 267 | |||
| 268 | |||
| 321 | endmenu | 269 | endmenu |
| 322 | 270 | ||
| 323 | source archival/Config.in | 271 | source archival/Config.in |
| 324 | source coreutils/Config.in | 272 | source coreutils/Config.in |
| 325 | source console-tools/Config.in | 273 | source console-tools/Config.in |
| 326 | source debianutils/Config.in | 274 | source debianutils/Config.in |
| 275 | source e2fsprogs/Config.in | ||
| 327 | source editors/Config.in | 276 | source editors/Config.in |
| 328 | source findutils/Config.in | 277 | source findutils/Config.in |
| 329 | source init/Config.in | 278 | source init/Config.in |
| 330 | source loginutils/Config.in | 279 | source loginutils/Config.in |
| 331 | source e2fsprogs/Config.in | ||
| 332 | source modutils/Config.in | ||
| 333 | source util-linux/Config.in | ||
| 334 | source miscutils/Config.in | 280 | source miscutils/Config.in |
| 281 | source modutils/Config.in | ||
| 335 | source networking/Config.in | 282 | source networking/Config.in |
| 336 | source procps/Config.in | 283 | source procps/Config.in |
| 337 | source shell/Config.in | 284 | source shell/Config.in |
| 338 | source sysklogd/Config.in | 285 | source sysklogd/Config.in |
| 286 | source util-linux/Config.in | ||
| 339 | 287 | ||
| 340 | menu 'Debugging Options' | 288 | menu 'Debugging Options' |
| 341 | 289 | ||
| @@ -36,8 +36,8 @@ SRC_DIRS:=$(patsubst %,$(top_srcdir)/%,$(DIRS)) | |||
| 36 | .PHONY: _all | 36 | .PHONY: _all |
| 37 | _all: | 37 | _all: |
| 38 | 38 | ||
| 39 | CONFIG_CONFIG_IN = $(top_srcdir)/sysdeps/$(TARGET_OS)/Config.in | 39 | CONFIG_CONFIG_IN = $(top_srcdir)/Config.in |
| 40 | CONFIG_DEFCONFIG = $(top_srcdir)/sysdeps/$(TARGET_OS)/defconfig | 40 | CONFIG_DEFCONFIG = $(top_srcdir)/defconfig |
| 41 | 41 | ||
| 42 | ifeq ($(KBUILD_SRC),) | 42 | ifeq ($(KBUILD_SRC),) |
| 43 | 43 | ||
diff --git a/sysdeps/linux/defconfig b/defconfig index 51582d1ae..51582d1ae 100644 --- a/sysdeps/linux/defconfig +++ b/defconfig | |||
diff --git a/scripts/config/confdata.c b/scripts/config/confdata.c index 5c9529101..6fb92c9f3 100644 --- a/scripts/config/confdata.c +++ b/scripts/config/confdata.c | |||
| @@ -15,7 +15,7 @@ | |||
| 15 | 15 | ||
| 16 | const char conf_def_filename[] = ".config"; | 16 | const char conf_def_filename[] = ".config"; |
| 17 | 17 | ||
| 18 | const char conf_defname[] = "sysdeps/linux/defconfig"; | 18 | const char conf_defname[] = "defconfig"; |
| 19 | 19 | ||
| 20 | const char *conf_confnames[] = { | 20 | const char *conf_confnames[] = { |
| 21 | ".config", | 21 | ".config", |
