User Tools

Site Tools


u-boot_unused_configs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
u-boot_unused_configs [2019/04/13 11:26]
rpjday [Example: arch/arm]
u-boot_unused_configs [2019/04/13 11:29] (current)
rpjday [False positives]
Line 58: Line 58:
  
 so I can clearly improve the script. so I can clearly improve the script.
 +
 +Also, I forgot to take into account that one could "​select"​ a Kconfig option, whereupon that Kconfig option could then select further options, without ever testing the option itself. Here's an example:
 +
 +<​code>​
 +>>>>>​ TEGRA_COMMON
 +arch/​arm/​mach-tegra/​Kconfig:​23:​config TEGRA_COMMON
 +arch/​arm/​mach-tegra/​Kconfig:​58:​ select TEGRA_COMMON
 +arch/​arm/​mach-tegra/​Kconfig:​66:​ select TEGRA_COMMON
 +</​code>​
 +
 +My script flags that because there is no occurrence of "​CONFIG_TEGRA_COMMON"​ but, of course, in this case, there doesn'​t have to be. Another improvement to be made.
  
 ===== Example ===== ===== Example =====
u-boot_unused_configs.txt ยท Last modified: 2019/04/13 11:29 by rpjday