Changeset e3f41e33
- Timestamp:
- 02/28/2022 12:41:56 PM (3 years ago)
- Branches:
- ablfs-more, trunk
- Children:
- 9d665db
- Parents:
- 16cef03
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Config.in
r16cef03 re3f41e33 18 18 Set up the tools to build LFS with systemd init. 19 19 20 config BOOK_CLFS21 bool "Cross-Compiled Linux From Scratch"22 help23 Set up the tools to build CLFS.24 25 config BOOK_CLFS226 bool "Cross-Compiled Linux From Scratch (Sysroot method)"27 help28 Set up the tools to build CLFS by the sysroot method.29 30 config BOOK_CLFS331 bool "Cross-Compiled Linux From Scratch (Embedded Systems)"32 help33 Set up the tools to build CLFS with tools for embedded systems.34 35 20 config BOOK_BLFS 36 21 bool "Beyond Linux From Scratch (see help)" 37 22 help 38 if the (C)LFS system has already been built, install the tools23 if the LFS system has already been built, install the tools 39 24 to build BLFS packages. 40 25 endchoice … … 64 49 string 65 50 default "lfs" if BOOK_LFS || BOOK_LFS_SYSD 66 default "clfs" if BOOK_CLFS67 default "clfs2" if BOOK_CLFS268 default "clfs3" if BOOK_CLFS369 51 70 52 config RUN_ME 71 53 string 72 default "./jhalfs run" if BOOK_LFS || BOOK_LFS_SYSD || BOOK_CLFS || \ 73 BOOK_CLFS2 || BOOK_CLFS_3 54 default "./jhalfs run" if BOOK_LFS || BOOK_LFS_SYSD 74 55 default "./install-blfs-tools.sh auto" if BOOK_BLFS 75 56 #--- End BOOK/script … … 91 72 92 73 config BRANCH 93 bool "Branch or stable book" if !BOOK_CLFS2 && !BOOK_CLFS374 bool "Branch or stable book" 94 75 help 95 76 A supported GIT branch or tag … … 149 130 #--- End BOOK version 150 131 151 #--- CLFS specific params152 choice153 prompt "Target architecture"154 default ARCH_X86155 depends on BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3156 help157 Choose the target system base architecture158 159 config ARCH_X86160 bool "x86"161 162 config ARCH_MIPS163 bool "mips" if !BOOK_CLFS2164 165 config ARCH_PPC166 bool "ppc" if BOOK_CLFS167 168 config ARCH_SPARC169 bool "sparc" if BOOK_CLFS170 171 config ARCH_ALPHA172 bool "alpha" if !BOOK_CLFS3173 174 config ARCH_ARM175 bool "arm" if !BOOK_CLFS176 177 config ARCH_HPPA178 bool "hppa" if BOOK_CLFS2179 endchoice180 181 choice182 prompt "Hardware Platform"183 depends on BOOK_CLFS3 && ARCH_MIPS184 default PLATFORM_GENERIC185 help186 Choose a destination platform187 Platform specific files will be included188 189 config PLATFORM_GENERIC190 bool "Generic platform"191 192 config PLATFORM_WRT193 bool "WRT - MIPS based wireless router" if ARCH_MIPS194 endchoice195 196 choice197 prompt "Library"198 depends on (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS)199 default DATA_32200 help201 Choose the target system libraries type202 203 config DATA_32204 bool "32-bit"205 206 config DATA_64207 bool "64-bit"208 209 config DATA_MULTI210 bool "multilib" if !(BOOK_CLFS3 && ARCH_MIPS )211 endchoice212 213 choice214 prompt "Processor type"215 depends on (BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3) && ((ARCH_X86 && !(DATA_64 || DATA_MULTI)) || ARCH_MIPS || ARCH_HPPA || ARCH_ALPHA || (ARCH_SPARC && (DATA_64 || DATA_MULTI)) || (ARCH_ARM && BOOK_CLFS3))216 help217 Choose the target system processor218 219 config PROC_i486220 bool "486 Compatibles" if ARCH_X86221 222 config PROC_i586223 bool "Pentium, K6, 586 Compatibles" if ARCH_X86224 225 config PROC_i686226 bool "Pentium II, Pentium III, Pentium 4, Athlon, Duron" if ARCH_X86227 228 config PROC_mipsel229 bool "MIPS Little Endian" if ARCH_MIPS230 231 config PROC_mips232 bool "MIPS Big Endian" if ARCH_MIPS233 234 config PROC_unknown235 bool "Unknown" if ARCH_HPPA || ARCH_ALPHA236 237 config PROC_hppa1238 bool "PA 7000 Series" if ARCH_HPPA239 240 config PROC_hppa2241 bool "PA 8000 Series" if ARCH_HPPA242 243 config PROC_EV5244 bool "EV5 Series" if ARCH_ALPHA245 246 config PROC_EV56247 bool "EV56 Series" if ARCH_ALPHA248 249 config PROC_PCA56250 bool "PCA56 Series" if ARCH_ALPHA251 252 config PROC_PCA57253 bool "PCA57 Series" if ARCH_ALPHA254 255 config PROC_EV6256 bool "EV6 Series" if ARCH_ALPHA257 258 config PROC_EV67259 bool "EV67 Series" if ARCH_ALPHA260 261 config PROC_EV68262 bool "EV68 Series" if ARCH_ALPHA263 264 config PROC_ARM265 bool "Generic arm, little endian" if ARCH_ARM266 267 config PROC_ARM5L268 bool "Generic arm, version 5, little endian" if ARCH_ARM269 270 config PROC_ARM5B271 bool "Generic arm, version 5, big endian" if ARCH_ARM272 273 config PROC_ULTRA1274 bool "UtraSparc" if ARCH_SPARC && (DATA_64 || DATA_MULTI)275 276 config PROC_ULTRA2277 bool "UtraSparc2" if ARCH_SPARC && (DATA_64 || DATA_MULTI)278 279 config PROC_ULTRA3280 bool "UtraSparc3" if ARCH_SPARC && (DATA_64 || DATA_MULTI)281 endchoice282 283 choice284 prompt "MIPS 64 ABI"285 depends on BOOK_CLFS3 && ARCH_MIPS && DATA_64286 default ABI_64287 help288 Choose the target system ABI to use289 290 config ABI_32291 bool "o32"292 293 config ABI_N32294 bool "n32"295 296 config ABI_64297 bool "n64"298 endchoice299 300 config TARGET301 string302 default "i486-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i486303 default "i586-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i586304 default "i686-pc-linux-gnu" if !BOOK_CLFS3 && PROC_i686305 306 default "i486-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i486307 default "i586-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i586308 default "i686-pc-linux-uclibc" if BOOK_CLFS3 && PROC_i686309 310 default "x86_64-unknown-linux-gnu" if ARCH_X86 && (DATA_64 || DATA_MULTI)311 312 default "mipsel-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && DATA_32313 default "mips-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && DATA_32314 default "mips64el-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mipsel && (DATA_64 || DATA_MULTI)315 default "mips64-unknown-linux-gnu" if !BOOK_CLFS3 && PROC_mips && (DATA_64 || DATA_MULTI)316 317 default "mipsel-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_32318 default "mips-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_32319 default "mips64el-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mipsel && DATA_64320 default "mips64-unknown-linux-uclibc" if BOOK_CLFS3 && PROC_mips && DATA_64321 322 default "powerpc-unknown-linux-gnu" if ARCH_PPC && DATA_32323 default "powerpc64-unknown-linux-gnu" if ARCH_PPC && (DATA_MULTI || DATA_64)324 325 default "sparc-unknown-linux-gnu" if ARCH_SPARC && DATA_32326 default "sparc64-unknown-linux-gnu" if ARCH_SPARC && (DATA_64 || DATA_MULTI)327 328 default "hppa-unknown-linux-gnu" if PROC_unknown && ARCH_HPPA329 default "hppa1.1-unknown-linux-gnu" if PROC_hppa1330 default "hppa2.0-unknown-linux-gnu" if PROC_hppa2331 332 default "arm-unknown-linux-gnueabi" if ARCH_ARM && BOOK_CLFS2333 334 default "arm-unknown-linux-uclibc" if PROC_ARM335 default "armv5l-unknown-linux-uclibc" if PROC_ARM5L336 default "armv5b-unknown-linux-uclibc" if PROC_ARM5B337 338 default "alpha-unknown-linux-gnu" if PROC_unknown && ARCH_ALPHA339 default "alphaev5-unknown-linux-gnu" if PROC_EV5340 default "alphaev56-unknown-linux-gnu" if PROC_EV56341 default "alphapca56-unknown-linux-gnu" if PROC_PCA56342 default "alphapca57-unknown-linux-gnu" if PROC_PCA57343 default "alphaev6-unknown-linux-gnu" if PROC_EV6344 default "alphaev67-unknown-linux-gnu" if PROC_EV67345 default "alphaev68-unknown-linux-gnu" if PROC_EV68346 347 config TARGET32348 string349 depends on DATA_MULTI350 default "i686-pc-linux-gnu" if ARCH_X86351 default "mipsel-unknown-linux-gnu" if PROC_mipsel352 default "mips-unknown-linux-gnu" if PROC_mips353 default "sparc-unknown-linux-gnu" if ARCH_SPARC354 default "powerpc-unknown-linux-gnu" if ARCH_PPC355 356 config PLATFORM357 string358 default "GENERIC" if (!BOOK_CLFS3) || PLATFORM_GENERIC359 default "WRT - Wireless Router" if PLATFORM_WRT360 361 config SPARC64_PROC362 string363 default "none" if !(ARCH_SPARC && (DATA_64 || DATA_MULTI))364 default "1" if PROC_ULTRA1365 default "2" if PROC_ULTRA2366 default "3" if PROC_ULTRA3367 368 config ARCH369 string370 default "x86" if ARCH_X86 && (DATA_32 || BOOK_CLFS2 || BOOK_CLFS3)371 default "x86_64" if ARCH_X86 && DATA_MULTI372 default "x86_64-64" if ARCH_X86 && DATA_64373 374 default "wrt" if PLATFORM_WRT && BOOK_CLFS3375 376 default "mips" if ARCH_MIPS && (DATA_32 || BOOK_CLFS3)377 default "mips64" if ARCH_MIPS && DATA_MULTI378 default "mips64-64" if ARCH_MIPS && DATA_64 && BOOK_CLFS379 380 381 default "ppc" if ARCH_PPC && DATA_32382 default "ppc64" if ARCH_PPC && DATA_MULTI383 default "ppc64-64" if ARCH_PPC && DATA_64384 385 default "sparc" if ARCH_SPARC && DATA_32386 default "sparc64" if ARCH_SPARC && DATA_MULTI387 default "sparc64-64" if ARCH_SPARC && DATA_64388 389 default "alpha" if ARCH_ALPHA390 default "arm" if ARCH_ARM391 default "hppa" if ARCH_HPPA392 393 config MIPS_LEVEL394 string395 depends on BOOK_CLFS3 && ARCH_MIPS396 default "1" if DATA_32397 default "3" if DATA_64398 399 config ABI400 string401 depends on BOOK_CLFS3402 default "-m32" if ARCH_X86 || ARCH_ARM403 # default "-m64" if NO USED YET IN THE BOOK404 default "-mabi=32" if ABI_32 || (ARCH_MIPS && DATA_32)405 default "-mabi=n32" if ABI_N32406 default "-mabi=64" if ABI_64407 408 config ENDIAN409 string410 depends on BOOK_CLFS3 && (ARCH_MIPS || ARCH_ARM)411 default "little" if PROC_mipsel || PROC_ARM || PROC_ARM5L412 default "big" if PROC_mips || PROC_ARM5B413 414 132 choice 415 133 prompt "Build method" 416 de pends on BOOK_CLFS134 default BUILD_CHROOT 417 135 help 418 136 What build method should be used: a chroot jail or minimal boot 419 system. Review the Cross-LFS bookchap6 "TO BOOT OR CHROOT" for137 system. Review the clfs-ng branch chap6 "TO BOOT OR CHROOT" for 420 138 a full explanation. 421 139 … … 441 159 and renamed 'bootkernel-config' 442 160 NOTE: this setting is required 443 #--- End CLFS specific params444 161 445 162 #--- blfs-tool Support … … 447 164 bool "Add blfs-tool support" 448 165 default n 449 depends on !BOOK_ CLFS3 && !BOOK_BLFS166 depends on !BOOK_BLFS 450 167 help 451 168 Activating this option will install additional packages needed … … 662 379 string 663 380 default "lfs" if BOOK_LFS || BOOK_LFS_SYSD 664 default "clfs" if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3665 381 666 382 config LGROUP … … 758 474 config CONFIG_TESTS 759 475 bool "Run testsuites" 760 depends on !BOOK_CLFS2 && !BOOK_CLFS3761 476 default y 762 477 help … … 856 571 # sect1 of the book identical to a package 857 572 # sect1. See README.PACKAGE_MANAGEMENT 858 #859 # For now, this only works with LFS860 573 choice 861 574 depends on PKGMNGT … … 889 602 bool "Strip Installed Binaries/Libraries" 890 603 default n 891 depends on !BOOK_CLFS3892 604 893 605 config DEL_LA_FILES … … 1116 828 config COMPARE 1117 829 bool "Run comparison analysis on final stage" 1118 depends on !BOOK_CLFS2 && !BOOK_CLFS31119 830 default n 1120 831 help … … 1146 857 1147 858 #--- Optimizations 1148 if !BOOK_CLFS2 && !BOOK_CLFS31149 859 config CONFIG_OPTIMIZE 1150 860 bool "Optimization and parallelization"
Note:
See TracChangeset
for help on using the changeset viewer.