]> git.karo-electronics.de Git - karo-tx-uboot.git/commitdiff
kbuild: remove unneeded ifdef conditionals around build rules
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 5 Feb 2016 08:55:12 +0000 (17:55 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 8 Feb 2016 15:22:40 +0000 (10:22 -0500)
These rules are only used for SOCFPGA, SUNXI, but no need to hide
them from other SoCs.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.spl

index f486feb0d0145c5bf56e2ed134169c8f0bf22610..adabfcff408dc6526bceeb5b2f0cc8ebe688214b 100644 (file)
@@ -228,18 +228,14 @@ ifneq ($(CONFIG_SPL_TEXT_BASE),)
 LDFLAGS_$(SPL_BIN) += -Ttext $(CONFIG_SPL_TEXT_BASE)
 endif
 
-ifdef CONFIG_ARCH_SOCFPGA
 MKIMAGEFLAGS_$(SPL_BIN).sfp = -T socfpgaimage
 $(obj)/$(SPL_BIN).sfp: $(obj)/$(SPL_BIN).bin FORCE
        $(call if_changed,mkimage)
-endif
 
-ifdef CONFIG_SUNXI
 quiet_cmd_mksunxiboot = MKSUNXI $@
 cmd_mksunxiboot = $(objtree)/tools/mksunxiboot $< $@
 $(obj)/sunxi-spl.bin: $(obj)/$(SPL_BIN).bin
        $(call if_changed,mksunxiboot)
-endif
 
 quiet_cmd_u-boot-spl = LD      $@
       cmd_u-boot-spl = (cd $(obj) && $(LD) $(LDFLAGS) $(LDFLAGS_$(@F)) \