build: fix menuconfig submenu sorting for gcc options
The hidden symbol GCC_USE_IREMAP was breaking it, move it to Config.version instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
		| @@ -21,11 +21,6 @@ choice | |||||||
| 		bool "gcc 9.x" | 		bool "gcc 9.x" | ||||||
| endchoice | endchoice | ||||||
|  |  | ||||||
| config GCC_USE_IREMAP |  | ||||||
| 	default y if ( GCC_USE_VERSION_5 || GCC_USE_VERSION_7 ) |  | ||||||
| 	default n |  | ||||||
| 	bool |  | ||||||
|  |  | ||||||
| config GCC_USE_GRAPHITE | config GCC_USE_GRAPHITE | ||||||
| 	bool | 	bool | ||||||
| 	prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS | 	prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS | ||||||
|   | |||||||
| @@ -16,3 +16,8 @@ config GCC_VERSION | |||||||
| 	default "7.4.0"		if GCC_VERSION_7 | 	default "7.4.0"		if GCC_VERSION_7 | ||||||
| 	default "9.2.0"		if GCC_VERSION_9 | 	default "9.2.0"		if GCC_VERSION_9 | ||||||
| 	default "8.3.0" | 	default "8.3.0" | ||||||
|  |  | ||||||
|  | config GCC_USE_IREMAP | ||||||
|  | 	bool | ||||||
|  | 	default y if ( GCC_USE_VERSION_5 || GCC_USE_VERSION_7 ) | ||||||
|  | 	default n | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Felix Fietkau
					Felix Fietkau