Skip to content
  • Tuomas Tynkkynen's avatar
    cmd: Make CONFIG_CMD_FPGA depend on CONFIG_FPGA · a4fa8114
    Tuomas Tynkkynen authored and Tom Rini's avatar Tom Rini committed
    
    
    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: default avatarTuomas Tynkkynen <tuomas@tuxera.com>
    a4fa8114