cmd: Make CONFIG_CMD_FPGA depend on CONFIG_FPGA
cmd/Makefile has:
ifdef CONFIG_FPGA
obj-$(CONFIG_CMD_FPGA) += fpga.o
endif
which means that if CONFIG_FPGA is not set, CONFIG_CMD_FPGA silently
does nothing. Let's remove that Makefile conditional and instead express
this equivalent dependency in Kconfig, so a lot of redundant
# CONFIG_CMD_FPGA is not set
can be removed from board defconfigs that don't actually have an FPGA.
Signed-off-by:
Tuomas Tynkkynen <tuomas@tuxera.com>
Showing
- cmd/Kconfig 1 addition, 0 deletionscmd/Kconfig
- cmd/Makefile 0 additions, 2 deletionscmd/Makefile
- configs/A10-OLinuXino-Lime_defconfig 0 additions, 1 deletionconfigs/A10-OLinuXino-Lime_defconfig
- configs/A10s-OLinuXino-M_defconfig 0 additions, 1 deletionconfigs/A10s-OLinuXino-M_defconfig
- configs/A13-OLinuXinoM_defconfig 0 additions, 1 deletionconfigs/A13-OLinuXinoM_defconfig
- configs/A13-OLinuXino_defconfig 0 additions, 1 deletionconfigs/A13-OLinuXino_defconfig
- configs/A20-OLinuXino-Lime2-eMMC_defconfig 0 additions, 1 deletionconfigs/A20-OLinuXino-Lime2-eMMC_defconfig
- configs/A20-OLinuXino-Lime2_defconfig 0 additions, 1 deletionconfigs/A20-OLinuXino-Lime2_defconfig
- configs/A20-OLinuXino-Lime_defconfig 0 additions, 1 deletionconfigs/A20-OLinuXino-Lime_defconfig
- configs/A20-OLinuXino_MICRO-eMMC_defconfig 0 additions, 1 deletionconfigs/A20-OLinuXino_MICRO-eMMC_defconfig
- configs/A20-OLinuXino_MICRO_defconfig 0 additions, 1 deletionconfigs/A20-OLinuXino_MICRO_defconfig
- configs/A20-Olimex-SOM-EVB_defconfig 0 additions, 1 deletionconfigs/A20-Olimex-SOM-EVB_defconfig
- configs/A33-OLinuXino_defconfig 0 additions, 1 deletionconfigs/A33-OLinuXino_defconfig
- configs/Ainol_AW1_defconfig 0 additions, 1 deletionconfigs/Ainol_AW1_defconfig
- configs/Ampe_A76_defconfig 0 additions, 1 deletionconfigs/Ampe_A76_defconfig
- configs/Auxtek-T003_defconfig 0 additions, 1 deletionconfigs/Auxtek-T003_defconfig
- configs/Auxtek-T004_defconfig 0 additions, 1 deletionconfigs/Auxtek-T004_defconfig
- configs/Bananapi_M2_Ultra_defconfig 0 additions, 1 deletionconfigs/Bananapi_M2_Ultra_defconfig
- configs/Bananapi_defconfig 0 additions, 1 deletionconfigs/Bananapi_defconfig
- configs/Bananapi_m2m_defconfig 0 additions, 1 deletionconfigs/Bananapi_m2m_defconfig
Loading
Please register or sign in to comment