Changeset e3f41e33 for Config.in


Ignore:
Timestamp:
02/28/2022 12:41:56 PM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, trunk
Children:
9d665db
Parents:
16cef03
Message:

Remove legacy: remove CLFS books from Config.in

There are still some occurrence of CLFS (and HLFS), that will go away
at next commit, when removing temporary tools tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Config.in

    r16cef03 re3f41e33  
    1818                Set up the tools to build LFS with systemd init.
    1919
    20         config    BOOK_CLFS
    21             bool "Cross-Compiled Linux From Scratch"
    22             help
    23                 Set up the tools to build CLFS.
    24 
    25         config    BOOK_CLFS2
    26             bool "Cross-Compiled Linux From Scratch (Sysroot method)"
    27             help
    28                 Set up the tools to build CLFS by the sysroot method.
    29 
    30         config    BOOK_CLFS3
    31             bool "Cross-Compiled Linux From Scratch (Embedded Systems)"
    32             help
    33                 Set up the tools to build CLFS with tools for embedded systems.
    34 
    3520        config    BOOK_BLFS
    3621            bool "Beyond Linux From Scratch (see help)"
    3722            help
    38                 if the (C)LFS system has already been built, install the tools
     23                if the LFS system has already been built, install the tools
    3924                to build BLFS packages.
    4025    endchoice
     
    6449        string
    6550        default "lfs"          if BOOK_LFS || BOOK_LFS_SYSD
    66         default "clfs"         if BOOK_CLFS
    67         default "clfs2"        if BOOK_CLFS2
    68         default "clfs3"        if BOOK_CLFS3
    6951
    7052    config    RUN_ME
    7153        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
    7455        default "./install-blfs-tools.sh auto" if BOOK_BLFS
    7556    #--- End BOOK/script
     
    9172
    9273        config    BRANCH
    93             bool    "Branch or stable book" if !BOOK_CLFS2 && !BOOK_CLFS3
     74            bool    "Branch or stable book"
    9475            help
    9576                A supported GIT branch or tag
     
    149130    #--- End BOOK version
    150131
    151     #--- CLFS specific params
    152     choice
    153         prompt    "Target architecture"
    154         default    ARCH_X86
    155         depends on    BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
    156         help
    157             Choose the target system base architecture
    158 
    159         config    ARCH_X86
    160             bool    "x86"
    161 
    162         config    ARCH_MIPS
    163             bool    "mips"    if !BOOK_CLFS2
    164 
    165         config    ARCH_PPC
    166             bool    "ppc"    if BOOK_CLFS
    167 
    168         config    ARCH_SPARC
    169             bool    "sparc"    if BOOK_CLFS
    170 
    171         config    ARCH_ALPHA
    172             bool    "alpha"    if !BOOK_CLFS3
    173 
    174         config    ARCH_ARM
    175             bool    "arm"    if !BOOK_CLFS
    176 
    177         config    ARCH_HPPA
    178             bool    "hppa"    if BOOK_CLFS2
    179     endchoice
    180 
    181     choice
    182         prompt    "Hardware Platform"
    183         depends on    BOOK_CLFS3 && ARCH_MIPS
    184         default    PLATFORM_GENERIC
    185         help
    186             Choose a destination platform
    187             Platform specific files will be included
    188 
    189         config    PLATFORM_GENERIC
    190             bool    "Generic platform"
    191 
    192         config    PLATFORM_WRT
    193             bool    "WRT - MIPS based wireless router" if ARCH_MIPS
    194     endchoice
    195 
    196     choice
    197         prompt    "Library"
    198         depends on    (BOOK_CLFS && !ARCH_ALPHA) || (BOOK_CLFS3 && ARCH_MIPS)
    199         default    DATA_32
    200         help
    201             Choose the target system libraries type
    202 
    203         config    DATA_32
    204             bool    "32-bit"
    205 
    206         config    DATA_64
    207             bool    "64-bit"
    208 
    209         config    DATA_MULTI
    210             bool    "multilib"    if !(BOOK_CLFS3 && ARCH_MIPS )
    211     endchoice
    212 
    213     choice
    214         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         help
    217             Choose the target system processor
    218 
    219         config    PROC_i486
    220             bool    "486 Compatibles"                    if ARCH_X86
    221 
    222         config    PROC_i586
    223             bool    "Pentium, K6, 586 Compatibles"                if ARCH_X86
    224 
    225         config    PROC_i686
    226             bool    "Pentium II, Pentium III, Pentium 4, Athlon, Duron"    if ARCH_X86
    227 
    228         config    PROC_mipsel
    229             bool    "MIPS Little Endian"                    if ARCH_MIPS
    230 
    231         config    PROC_mips
    232             bool    "MIPS Big Endian"                    if ARCH_MIPS
    233 
    234         config    PROC_unknown
    235             bool    "Unknown"                        if ARCH_HPPA || ARCH_ALPHA
    236 
    237         config    PROC_hppa1
    238             bool    "PA 7000 Series"                    if ARCH_HPPA
    239 
    240         config    PROC_hppa2
    241             bool    "PA 8000 Series"                    if ARCH_HPPA
    242 
    243         config    PROC_EV5
    244             bool    "EV5 Series"                        if ARCH_ALPHA
    245 
    246         config    PROC_EV56
    247             bool    "EV56 Series"                        if ARCH_ALPHA
    248 
    249         config    PROC_PCA56
    250             bool    "PCA56 Series"                        if ARCH_ALPHA
    251 
    252         config    PROC_PCA57
    253             bool    "PCA57 Series"                        if ARCH_ALPHA
    254 
    255         config    PROC_EV6
    256             bool    "EV6 Series"                        if ARCH_ALPHA
    257 
    258         config    PROC_EV67
    259             bool    "EV67 Series"                        if ARCH_ALPHA
    260 
    261         config    PROC_EV68
    262             bool    "EV68 Series"                        if ARCH_ALPHA
    263 
    264         config    PROC_ARM
    265             bool    "Generic arm, little endian"                if ARCH_ARM
    266 
    267         config    PROC_ARM5L
    268             bool    "Generic arm, version 5, little endian"            if ARCH_ARM
    269 
    270         config    PROC_ARM5B
    271             bool    "Generic arm, version 5, big endian"            if ARCH_ARM
    272 
    273         config    PROC_ULTRA1
    274             bool    "UtraSparc"                        if ARCH_SPARC && (DATA_64 || DATA_MULTI)
    275 
    276         config    PROC_ULTRA2
    277             bool    "UtraSparc2"                        if ARCH_SPARC && (DATA_64 || DATA_MULTI)
    278 
    279         config    PROC_ULTRA3
    280             bool    "UtraSparc3"                        if ARCH_SPARC && (DATA_64 || DATA_MULTI)
    281     endchoice
    282 
    283     choice
    284         prompt    "MIPS 64 ABI"
    285         depends on    BOOK_CLFS3 && ARCH_MIPS && DATA_64
    286         default    ABI_64
    287         help
    288             Choose the target system ABI to use
    289 
    290         config    ABI_32
    291             bool    "o32"
    292 
    293         config    ABI_N32
    294             bool    "n32"
    295 
    296         config    ABI_64
    297             bool    "n64"
    298     endchoice
    299 
    300     config TARGET
    301         string
    302         default "i486-pc-linux-gnu"        if !BOOK_CLFS3 && PROC_i486
    303         default "i586-pc-linux-gnu"        if !BOOK_CLFS3 && PROC_i586
    304         default "i686-pc-linux-gnu"        if !BOOK_CLFS3 && PROC_i686
    305 
    306         default "i486-pc-linux-uclibc"     if  BOOK_CLFS3 && PROC_i486
    307         default "i586-pc-linux-uclibc"     if  BOOK_CLFS3 && PROC_i586
    308         default "i686-pc-linux-uclibc"     if  BOOK_CLFS3 && PROC_i686
    309 
    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_32
    313         default "mips-unknown-linux-gnu"   if !BOOK_CLFS3 && PROC_mips   && DATA_32
    314         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_32
    318         default "mips-unknown-linux-uclibc" if  BOOK_CLFS3 && PROC_mips   && DATA_32
    319         default "mips64el-unknown-linux-uclibc" if  BOOK_CLFS3 && PROC_mipsel && DATA_64
    320         default "mips64-unknown-linux-uclibc" if  BOOK_CLFS3 && PROC_mips   && DATA_64
    321 
    322         default "powerpc-unknown-linux-gnu" if  ARCH_PPC && DATA_32
    323         default "powerpc64-unknown-linux-gnu" if  ARCH_PPC && (DATA_MULTI || DATA_64)
    324 
    325         default "sparc-unknown-linux-gnu"   if  ARCH_SPARC && DATA_32
    326         default "sparc64-unknown-linux-gnu" if  ARCH_SPARC && (DATA_64 || DATA_MULTI)
    327 
    328         default "hppa-unknown-linux-gnu"    if  PROC_unknown && ARCH_HPPA
    329         default "hppa1.1-unknown-linux-gnu" if  PROC_hppa1
    330         default "hppa2.0-unknown-linux-gnu" if  PROC_hppa2
    331 
    332         default "arm-unknown-linux-gnueabi" if  ARCH_ARM && BOOK_CLFS2
    333 
    334         default "arm-unknown-linux-uclibc"  if  PROC_ARM
    335         default "armv5l-unknown-linux-uclibc" if  PROC_ARM5L
    336         default "armv5b-unknown-linux-uclibc" if  PROC_ARM5B
    337 
    338         default "alpha-unknown-linux-gnu"   if  PROC_unknown && ARCH_ALPHA
    339         default "alphaev5-unknown-linux-gnu" if  PROC_EV5
    340         default "alphaev56-unknown-linux-gnu" if  PROC_EV56
    341         default "alphapca56-unknown-linux-gnu" if  PROC_PCA56
    342         default "alphapca57-unknown-linux-gnu" if  PROC_PCA57
    343         default "alphaev6-unknown-linux-gnu" if  PROC_EV6
    344         default "alphaev67-unknown-linux-gnu" if  PROC_EV67
    345         default "alphaev68-unknown-linux-gnu" if  PROC_EV68
    346 
    347     config TARGET32
    348         string
    349         depends on    DATA_MULTI
    350         default "i686-pc-linux-gnu"        if ARCH_X86
    351         default "mipsel-unknown-linux-gnu" if PROC_mipsel
    352         default "mips-unknown-linux-gnu"   if PROC_mips
    353         default "sparc-unknown-linux-gnu"  if ARCH_SPARC
    354         default "powerpc-unknown-linux-gnu" if ARCH_PPC
    355 
    356     config  PLATFORM
    357         string
    358         default "GENERIC"               if (!BOOK_CLFS3) || PLATFORM_GENERIC
    359         default "WRT - Wireless Router" if PLATFORM_WRT
    360 
    361     config  SPARC64_PROC
    362         string
    363         default "none"                if !(ARCH_SPARC && (DATA_64 || DATA_MULTI))
    364         default    "1"                if PROC_ULTRA1
    365         default    "2"                if PROC_ULTRA2
    366         default    "3"                if PROC_ULTRA3
    367 
    368     config    ARCH
    369         string
    370         default   "x86"        if ARCH_X86   && (DATA_32 || BOOK_CLFS2 || BOOK_CLFS3)
    371         default   "x86_64"     if ARCH_X86   && DATA_MULTI
    372         default   "x86_64-64"  if ARCH_X86   && DATA_64
    373 
    374         default   "wrt"        if PLATFORM_WRT && BOOK_CLFS3
    375 
    376         default   "mips"       if ARCH_MIPS  && (DATA_32 || BOOK_CLFS3)
    377         default   "mips64"     if ARCH_MIPS  && DATA_MULTI
    378         default   "mips64-64"  if ARCH_MIPS  && DATA_64 && BOOK_CLFS
    379 
    380 
    381         default   "ppc"        if ARCH_PPC   && DATA_32
    382         default   "ppc64"      if ARCH_PPC   && DATA_MULTI
    383         default   "ppc64-64"   if ARCH_PPC   && DATA_64
    384 
    385         default   "sparc"      if ARCH_SPARC && DATA_32
    386         default   "sparc64"    if ARCH_SPARC && DATA_MULTI
    387         default   "sparc64-64" if ARCH_SPARC && DATA_64
    388 
    389         default   "alpha"      if ARCH_ALPHA
    390         default   "arm"        if ARCH_ARM
    391         default   "hppa"       if ARCH_HPPA
    392 
    393     config  MIPS_LEVEL
    394         string
    395         depends on BOOK_CLFS3 && ARCH_MIPS
    396         default "1"        if DATA_32
    397         default "3"        if DATA_64
    398 
    399     config    ABI
    400         string
    401         depends on BOOK_CLFS3
    402         default "-m32"      if ARCH_X86 || ARCH_ARM
    403 #        default "-m64"     if NO USED YET IN THE BOOK
    404         default "-mabi=32"  if ABI_32 || (ARCH_MIPS && DATA_32)
    405         default "-mabi=n32" if ABI_N32
    406         default "-mabi=64"  if ABI_64
    407 
    408     config    ENDIAN
    409         string
    410         depends on BOOK_CLFS3 && (ARCH_MIPS || ARCH_ARM)
    411         default "little"    if PROC_mipsel || PROC_ARM || PROC_ARM5L
    412         default "big"       if PROC_mips || PROC_ARM5B
    413 
    414132    choice
    415133        prompt    "Build method"
    416         depends on    BOOK_CLFS
     134        default   BUILD_CHROOT
    417135        help
    418136            What build method should be used: a chroot jail or minimal boot
    419             system. Review the Cross-LFS book chap6 "TO BOOT OR CHROOT" for
     137            system. Review the clfs-ng branch chap6 "TO BOOT OR CHROOT" for
    420138            a full explanation.
    421139
     
    441159            and renamed 'bootkernel-config'
    442160            NOTE: this setting is required
    443     #--- End CLFS specific params
    444161
    445162    #--- blfs-tool Support
     
    447164        bool    "Add blfs-tool support"
    448165        default    n
    449         depends on !BOOK_CLFS3 && !BOOK_BLFS
     166        depends on !BOOK_BLFS
    450167        help
    451168            Activating this option will install additional packages needed
     
    662379        string
    663380        default    "lfs"    if BOOK_LFS || BOOK_LFS_SYSD
    664         default    "clfs"    if BOOK_CLFS || BOOK_CLFS2 || BOOK_CLFS3
    665381
    666382    config    LGROUP
     
    758474    config    CONFIG_TESTS
    759475        bool    "Run testsuites"
    760         depends on    !BOOK_CLFS2 && !BOOK_CLFS3
    761476        default    y
    762477        help
     
    856571            #  sect1 of the book identical to a package
    857572            #  sect1. See README.PACKAGE_MANAGEMENT
    858             #
    859             #  For now, this only works with LFS
    860573    choice
    861574        depends on PKGMNGT
     
    889602        bool "Strip Installed Binaries/Libraries"
    890603        default n
    891         depends on !BOOK_CLFS3
    892604
    893605    config    DEL_LA_FILES
     
    1116828    config    COMPARE
    1117829        bool "Run comparison analysis on final stage"
    1118         depends on    !BOOK_CLFS2 && !BOOK_CLFS3
    1119830        default n
    1120831        help
     
    1146857
    1147858    #--- Optimizations
    1148 if !BOOK_CLFS2 && !BOOK_CLFS3
    1149859    config    CONFIG_OPTIMIZE
    1150860        bool    "Optimization and parallelization"
Note: See TracChangeset for help on using the changeset viewer.