浏览代码

Config.in: move toolchain menu before build options

Many of the build options depend on the toolchain configuration. In
addition, it's pretty logical that you select first target architecture,
then the toolchain, and only then things like debug and pic/pie.
Therefore, move the "Toolchain" menu before the "Build options" menu
instead of after.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Arnout Vandecappelle (Essensium/Mind) 3 年之前
父节点
当前提交
5e050a8849
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Config.in

+ 2 - 2
Config.in

@@ -87,6 +87,8 @@ config BR2_NEEDS_HOST_GCC_PLUGIN_SUPPORT
 
 
 source "arch/Config.in"
 source "arch/Config.in"
 
 
+source "toolchain/Config.in"
+
 menu "Build options"
 menu "Build options"
 
 
 menu "Commands"
 menu "Commands"
@@ -934,8 +936,6 @@ comment "Fortify Source needs a glibc toolchain and optimization"
 	depends on (!BR2_TOOLCHAIN_USES_GLIBC || BR2_OPTIMIZE_0)
 	depends on (!BR2_TOOLCHAIN_USES_GLIBC || BR2_OPTIMIZE_0)
 endmenu
 endmenu
 
 
-source "toolchain/Config.in"
-
 source "system/Config.in"
 source "system/Config.in"
 
 
 source "linux/Config.in"
 source "linux/Config.in"