]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package: clean up indentation warnings in Config.in files
authorAdam Duskett <Aduskett@gmail.com>
Sat, 22 Apr 2017 17:17:47 +0000 (13:17 -0400)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Apr 2017 15:13:48 +0000 (17:13 +0200)
The check-package script when ran gives warnings on indentation issues
on all of these Config.in files. This patch cleans up warnings related to
the indentation of the Config.in files in the package directory

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
[Thomas: do not change package/kodi/Config.in and package/x11r7/Config.in.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/b43-firmware/Config.in
package/binutils/Config.in.host
package/gcc/Config.in.host
package/gdb/Config.in.host
package/jquery-ui-themes/Config.in
package/linux-headers/Config.in.host
package/lua/Config.in
package/uclibc/Config.in

index bc69bbcbeded8925c18a4cc7f9cccc789e2f5b11..7cef0239976c90e425dfd5753a8393d6a0a6b9cf 100644 (file)
@@ -14,11 +14,11 @@ choice
          kernel >= 3.2 need a different firmware than the b43 drivers
          from kernel < 3.2.
 
-       config BR2_PACKAGE_B43_FIRMWARE_KERNEL_AFTER_3_2
-               bool ">= 3.2"
+config BR2_PACKAGE_B43_FIRMWARE_KERNEL_AFTER_3_2
+       bool ">= 3.2"
 
-       config BR2_PACKAGE_B43_FIRMWARE_KERNEL_BEFORE_3_2
-               bool "< 3.2"
+config BR2_PACKAGE_B43_FIRMWARE_KERNEL_BEFORE_3_2
+       bool "< 3.2"
 
 endchoice
 
index 308322a51169d39c013ebcae614beaaa8d4b5cdb..cca71fbb7a82ddcf775224f61dd5056ef262b671 100644 (file)
@@ -7,14 +7,14 @@ choice
        help
          Select the version of binutils you wish to use.
 
-       config BR2_BINUTILS_VERSION_2_26_X
-               bool "binutils 2.26.1"
+config BR2_BINUTILS_VERSION_2_26_X
+       bool "binutils 2.26.1"
 
-       config BR2_BINUTILS_VERSION_2_27_X
-               bool "binutils 2.27"
+config BR2_BINUTILS_VERSION_2_27_X
+       bool "binutils 2.27"
 
-       config BR2_BINUTILS_VERSION_2_28_X
-               bool "binutils 2.28"
+config BR2_BINUTILS_VERSION_2_28_X
+       bool "binutils 2.28"
 
 endchoice
 
index 9cf457176e09ae9a61a0805d805937335c0a3917..4bcb23ec31da77146125814ab285bf3637aab670 100644 (file)
@@ -8,84 +8,84 @@ choice
        help
          Select the version of gcc you wish to use.
 
-       config BR2_GCC_VERSION_4_8_X
-               bool "gcc 4.8.x"
-               # Broken or unsupported architectures
-               depends on !BR2_microblaze && !BR2_arc && !BR2_or1k \
-                       && !BR2_powerpc64le && !BR2_nios2 && !BR2_bfin
-               # Broken or unsupported ARM cores
-               depends on !BR2_cortex_a12 && !BR2_cortex_a17 && !BR2_ARM_CPU_ARMV8
-               # Broken or unsupported PPC cores
-               depends on !BR2_powerpc_power8
-               # Unsupported MIPS cores
-               depends on !BR2_mips_interaptiv
-               # gcc-4.8.x + binutils-2.25 is broken for MIPS
-               depends on !((BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) && BR2_BINUTILS_VERSION_2_25_X)
-               # Unsupported for MIPS R5
-               depends on !BR2_MIPS_CPU_MIPS32R5 && !BR2_MIPS_CPU_MIPS64R5
-               # Unsupported for MIPS R6
-               depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
-               # musl ppc64 unsupported
-               depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
-               # musl mips64 unsupported
-               depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
-               select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
-
-       config BR2_GCC_VERSION_ARC
-               bool "gcc arc (6.x)"
-               # Only supported architecture
-               depends on BR2_arc
-               select BR2_TOOLCHAIN_GCC_AT_LEAST_6
-
-       config BR2_GCC_VERSION_OR1K
-               bool "gcc or1k (5.x)"
-               # Only supported architecture
-               depends on BR2_or1k
-               select BR2_TOOLCHAIN_GCC_AT_LEAST_5
-
-       config BR2_GCC_VERSION_4_9_X
-               bool "gcc 4.9.x"
-               # Broken or unsupported architectures
-               depends on !BR2_arc && !BR2_bfin && !BR2_or1k
-               # Broken or unsupported ARM cores
-               depends on !BR2_cortex_a17 && !BR2_cortex_a72
-               # Unsupported MIPS cores
-               depends on !BR2_mips_interaptiv
-               # Unsupported for MIPS R5
-               depends on !BR2_MIPS_CPU_MIPS32R5 && !BR2_MIPS_CPU_MIPS64R5
-               # Unsupported for MIPS R6
-               depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
-               # musl microblaze unsupported
-               depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_microblazeel || BR2_microblazebe))
-               # musl ppc64 unsupported
-               depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
-               # musl mips64 unsupported
-               depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
-               # PR60102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102
-               select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
-
-       config BR2_GCC_VERSION_5_X
-               bool "gcc 5.x"
-               # Broken or unsupported architectures
-               depends on !BR2_arc && !BR2_bfin && !BR2_or1k
-               # musl ppc64 unsupported
-               depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
-               # Unsupported MIPS cores
-               depends on !BR2_mips_interaptiv && !BR2_mips_m5150 && \
-                       !BR2_mips_m6250 && !BR2_mips_i6400 && !BR2_mips_p6600
-               # musl mips64 unsupported
-               depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
-               select BR2_TOOLCHAIN_GCC_AT_LEAST_5
-
-       config BR2_GCC_VERSION_6_X
-               bool "gcc 6.x"
-               # Broken or unsupported architectures
-               depends on !BR2_arc
-               depends on !BR2_microblaze
-               depends on !BR2_or1k
-               # Unsupported MIPS cores
-               depends on !BR2_mips_m6250 && !BR2_mips_p6600
-               select BR2_TOOLCHAIN_GCC_AT_LEAST_6
+config BR2_GCC_VERSION_4_8_X
+       bool "gcc 4.8.x"
+       # Broken or unsupported architectures
+       depends on !BR2_microblaze && !BR2_arc && !BR2_or1k \
+               && !BR2_powerpc64le && !BR2_nios2 && !BR2_bfin
+       # Broken or unsupported ARM cores
+       depends on !BR2_cortex_a12 && !BR2_cortex_a17 && !BR2_ARM_CPU_ARMV8
+       # Broken or unsupported PPC cores
+       depends on !BR2_powerpc_power8
+       # Unsupported MIPS cores
+       depends on !BR2_mips_interaptiv
+       # gcc-4.8.x + binutils-2.25 is broken for MIPS
+       depends on !((BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) && BR2_BINUTILS_VERSION_2_25_X)
+       # Unsupported for MIPS R5
+       depends on !BR2_MIPS_CPU_MIPS32R5 && !BR2_MIPS_CPU_MIPS64R5
+       # Unsupported for MIPS R6
+       depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
+       # musl ppc64 unsupported
+       depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
+       # musl mips64 unsupported
+       depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
+       select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+
+config BR2_GCC_VERSION_ARC
+       bool "gcc arc (6.x)"
+       # Only supported architecture
+       depends on BR2_arc
+       select BR2_TOOLCHAIN_GCC_AT_LEAST_6
+
+config BR2_GCC_VERSION_OR1K
+       bool "gcc or1k (5.x)"
+       # Only supported architecture
+       depends on BR2_or1k
+       select BR2_TOOLCHAIN_GCC_AT_LEAST_5
+
+config BR2_GCC_VERSION_4_9_X
+       bool "gcc 4.9.x"
+       # Broken or unsupported architectures
+       depends on !BR2_arc && !BR2_bfin && !BR2_or1k
+       # Broken or unsupported ARM cores
+       depends on !BR2_cortex_a17 && !BR2_cortex_a72
+       # Unsupported MIPS cores
+       depends on !BR2_mips_interaptiv
+       # Unsupported for MIPS R5
+       depends on !BR2_MIPS_CPU_MIPS32R5 && !BR2_MIPS_CPU_MIPS64R5
+       # Unsupported for MIPS R6
+       depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
+       # musl microblaze unsupported
+       depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_microblazeel || BR2_microblazebe))
+       # musl ppc64 unsupported
+       depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
+       # musl mips64 unsupported
+       depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
+       # PR60102 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60102
+       select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+
+config BR2_GCC_VERSION_5_X
+       bool "gcc 5.x"
+       # Broken or unsupported architectures
+       depends on !BR2_arc && !BR2_bfin && !BR2_or1k
+       # musl ppc64 unsupported
+       depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_powerpc64 || BR2_powerpc64le))
+       # Unsupported MIPS cores
+       depends on !BR2_mips_interaptiv && !BR2_mips_m5150 && \
+               !BR2_mips_m6250 && !BR2_mips_i6400 && !BR2_mips_p6600
+       # musl mips64 unsupported
+       depends on !(BR2_TOOLCHAIN_USES_MUSL && (BR2_mips64 || BR2_mips64el))
+       select BR2_TOOLCHAIN_GCC_AT_LEAST_5
+
+config BR2_GCC_VERSION_6_X
+       bool "gcc 6.x"
+       # Broken or unsupported architectures
+       depends on !BR2_arc
+       depends on !BR2_microblaze
+       depends on !BR2_or1k
+       # Unsupported MIPS cores
+       depends on !BR2_mips_m6250 && !BR2_mips_p6600
+       select BR2_TOOLCHAIN_GCC_AT_LEAST_6
 
 endchoice
 
index cbb157e3664ce97606129e04b90f9912a1c5cca5..a059fdc8b7781cfe5292fb1e3200c8bd229f69d3 100644 (file)
@@ -39,14 +39,14 @@ choice
        help
          Select the version of gdb you wish to use.
 
-       config BR2_GDB_VERSION_7_10
-               bool "gdb 7.10.x"
+config BR2_GDB_VERSION_7_10
+       bool "gdb 7.10.x"
 
-       config BR2_GDB_VERSION_7_11
-               bool "gdb 7.11.x"
+config BR2_GDB_VERSION_7_11
+       bool "gdb 7.11.x"
 
-       config BR2_GDB_VERSION_7_12
-               bool "gdb 7.12.x"
+config BR2_GDB_VERSION_7_12
+       bool "gdb 7.12.x"
 
 endchoice
 
index a7ae11eca600cdee5cd932c9c12058dca7c810c1..fde3014602de2349991180ac2c7f56ec3e2a8445 100644 (file)
@@ -13,77 +13,77 @@ choice
        help
          Specify the jQuery UI theme to install.
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_BLACK_TIE
-               bool "black-tie"
+config BR2_PACKAGE_JQUERY_UI_THEME_BLACK_TIE
+       bool "black-tie"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_BLITZER
-               bool "blitzer"
+config BR2_PACKAGE_JQUERY_UI_THEME_BLITZER
+       bool "blitzer"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_CUPERTINO
-               bool "cupertino"
+config BR2_PACKAGE_JQUERY_UI_THEME_CUPERTINO
+       bool "cupertino"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_DARK_HIVE
-               bool "dark-hive"
+config BR2_PACKAGE_JQUERY_UI_THEME_DARK_HIVE
+       bool "dark-hive"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_DOT_LUV
-               bool "dot-luv"
+config BR2_PACKAGE_JQUERY_UI_THEME_DOT_LUV
+       bool "dot-luv"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_EGGPLANT
-               bool "eggplant"
+config BR2_PACKAGE_JQUERY_UI_THEME_EGGPLANT
+       bool "eggplant"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_EXCITE_BIKE
-               bool "excite-bike"
+config BR2_PACKAGE_JQUERY_UI_THEME_EXCITE_BIKE
+       bool "excite-bike"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_FLICK
-               bool "flick"
+config BR2_PACKAGE_JQUERY_UI_THEME_FLICK
+       bool "flick"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_HOT_SNEAKS
-               bool "hot-sneaks"
+config BR2_PACKAGE_JQUERY_UI_THEME_HOT_SNEAKS
+       bool "hot-sneaks"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_HUMANITY
-               bool "humanity"
+config BR2_PACKAGE_JQUERY_UI_THEME_HUMANITY
+       bool "humanity"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_LE_FROG
-               bool "le-frog"
+config BR2_PACKAGE_JQUERY_UI_THEME_LE_FROG
+       bool "le-frog"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_MINT_CHOC
-               bool "mint-choc"
+config BR2_PACKAGE_JQUERY_UI_THEME_MINT_CHOC
+       bool "mint-choc"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_OVERCAST
-               bool "overcast"
+config BR2_PACKAGE_JQUERY_UI_THEME_OVERCAST
+       bool "overcast"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_PEPPER_GRINDER
-               bool "pepper-grinder"
+config BR2_PACKAGE_JQUERY_UI_THEME_PEPPER_GRINDER
+       bool "pepper-grinder"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_REDMOND
-               bool "redmond"
+config BR2_PACKAGE_JQUERY_UI_THEME_REDMOND
+       bool "redmond"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_SMOOTHNESS
-               bool "smoothness"
+config BR2_PACKAGE_JQUERY_UI_THEME_SMOOTHNESS
+       bool "smoothness"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_SOUTH_STREET
-               bool "south-street"
+config BR2_PACKAGE_JQUERY_UI_THEME_SOUTH_STREET
+       bool "south-street"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_START
-               bool "start"
+config BR2_PACKAGE_JQUERY_UI_THEME_START
+       bool "start"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_SUNNY
-               bool "sunny"
+config BR2_PACKAGE_JQUERY_UI_THEME_SUNNY
+       bool "sunny"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_SWANKY_PURSE
-               bool "swanky-purse"
+config BR2_PACKAGE_JQUERY_UI_THEME_SWANKY_PURSE
+       bool "swanky-purse"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_TRONTASTIC
-               bool "trontastic"
+config BR2_PACKAGE_JQUERY_UI_THEME_TRONTASTIC
+       bool "trontastic"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_UI_DARKNESS
-               bool "ui-darkness"
+config BR2_PACKAGE_JQUERY_UI_THEME_UI_DARKNESS
+       bool "ui-darkness"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_UI_LIGHTNESS
-               bool "ui-lightness"
+config BR2_PACKAGE_JQUERY_UI_THEME_UI_LIGHTNESS
+       bool "ui-lightness"
 
-       config BR2_PACKAGE_JQUERY_UI_THEME_VADER
-               bool "vader"
+config BR2_PACKAGE_JQUERY_UI_THEME_VADER
+       bool "vader"
 
 endchoice
 
index 846c825558df45ba10b3efc56ab55d29973193c2..5c67626b23dadcdcc72aec89d2a447a5e28d578a 100644 (file)
@@ -22,48 +22,49 @@ choice
          or hide packages that have strong requirements on the kernel
          headers.
 
-       config BR2_KERNEL_HEADERS_AS_KERNEL
-               bool "Same as kernel being built"
-               depends on BR2_LINUX_KERNEL
-
-       config BR2_KERNEL_HEADERS_3_2
-               bool "Linux 3.2.x kernel headers"
-               depends on !BR2_arc && !BR2_nios2
-               select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
-
-       config BR2_KERNEL_HEADERS_3_4
-               bool "Linux 3.4.x kernel headers"
-               depends on !BR2_arc && !BR2_nios2
-               select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
-
-       config BR2_KERNEL_HEADERS_3_10
-               bool "Linux 3.10.x kernel headers"
-               depends on !BR2_nios2
-               select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
-
-       config BR2_KERNEL_HEADERS_3_12
-               bool "Linux 3.12.x kernel headers"
-               depends on !BR2_nios2
-               select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
-
-       config BR2_KERNEL_HEADERS_4_1
-               bool "Linux 4.1.x kernel headers"
-               select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
-
-       config BR2_KERNEL_HEADERS_4_4
-               bool "Linux 4.4.x kernel headers"
-               select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
-
-       config BR2_KERNEL_HEADERS_4_9
-               bool "Linux 4.9.x kernel headers"
-               select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
-
-       config BR2_KERNEL_HEADERS_4_10
-               bool "Linux 4.10.x kernel headers"
-               select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
-
-       config BR2_KERNEL_HEADERS_VERSION
-               bool "Manually specified Linux version"
+config BR2_KERNEL_HEADERS_AS_KERNEL
+       bool "Same as kernel being built"
+       depends on BR2_LINUX_KERNEL
+
+config BR2_KERNEL_HEADERS_3_2
+       bool "Linux 3.2.x kernel headers"
+       depends on !BR2_arc && !BR2_nios2
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2
+
+config BR2_KERNEL_HEADERS_3_4
+       bool "Linux 3.4.x kernel headers"
+       depends on !BR2_arc && !BR2_nios2
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
+
+config BR2_KERNEL_HEADERS_3_10
+       bool "Linux 3.10.x kernel headers"
+       depends on !BR2_nios2
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
+
+config BR2_KERNEL_HEADERS_3_12
+       bool "Linux 3.12.x kernel headers"
+       depends on !BR2_nios2
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
+
+config BR2_KERNEL_HEADERS_4_1
+       bool "Linux 4.1.x kernel headers"
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1
+
+config BR2_KERNEL_HEADERS_4_4
+       bool "Linux 4.4.x kernel headers"
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4
+
+config BR2_KERNEL_HEADERS_4_9
+       bool "Linux 4.9.x kernel headers"
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9
+
+config BR2_KERNEL_HEADERS_4_10
+       bool "Linux 4.10.x kernel headers"
+       select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10
+
+config BR2_KERNEL_HEADERS_VERSION
+       bool "Manually specified Linux version"
+
 endchoice
 
 config BR2_DEFAULT_KERNEL_VERSION
index 711fa89163eefb09b4a6d6675c017fc0710ad814..35910cb5b256dbbeaf9190d66cbf5fa8c9e849fd 100644 (file)
@@ -17,14 +17,14 @@ choice
        help
          Select the version of Lua API/ABI you wish to use.
 
-       config BR2_PACKAGE_LUA_5_1
-               bool "Lua 5.1.x"
+config BR2_PACKAGE_LUA_5_1
+       bool "Lua 5.1.x"
 
-       config BR2_PACKAGE_LUA_5_2
-               bool "Lua 5.2.x"
+config BR2_PACKAGE_LUA_5_2
+       bool "Lua 5.2.x"
 
-       config BR2_PACKAGE_LUA_5_3
-               bool "Lua 5.3.x"
+config BR2_PACKAGE_LUA_5_3
+       bool "Lua 5.3.x"
 
 endchoice
 
index 28d2bccb58036a65aeded8eb0ba0801bd3dfff62..bfce45c28dfa55f44a564a38ca7b83064ceef9d3 100644 (file)
@@ -45,20 +45,20 @@ choice
          Use this option to select the thread library implementation
          that should be used in your toolchain.
 
-       config BR2_PTHREADS_NATIVE
-               bool "Native POSIX Threading (NPTL)"
-               select BR2_TOOLCHAIN_HAS_THREADS
-               select BR2_TOOLCHAIN_HAS_THREADS_NPTL
-               depends on BR2_USE_MMU
-               depends on !BR2_m68k && !BR2_microblaze && !BR2_or1k
-
-       config BR2_PTHREADS
-               bool "linuxthreads"
-               select BR2_TOOLCHAIN_HAS_THREADS
-               depends on BR2_bfin || BR2_m68k || BR2_microblaze || BR2_or1k || BR2_arm || BR2_armeb || BR2_xtensa
-
-       config BR2_PTHREADS_NONE
-               bool "none"
+config BR2_PTHREADS_NATIVE
+       bool "Native POSIX Threading (NPTL)"
+       select BR2_TOOLCHAIN_HAS_THREADS
+       select BR2_TOOLCHAIN_HAS_THREADS_NPTL
+       depends on BR2_USE_MMU
+       depends on !BR2_m68k && !BR2_microblaze && !BR2_or1k
+
+config BR2_PTHREADS
+       bool "linuxthreads"
+       select BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_bfin || BR2_m68k || BR2_microblaze || BR2_or1k || BR2_arm || BR2_armeb || BR2_xtensa
+
+config BR2_PTHREADS_NONE
+       bool "none"
 
 endchoice