ARM: uniphier: fix build error when CONFIG_MICRO_SUPPORT_CARD=n
If CONFIG_MICRO_SUPPORT_CARD is unset, the build fails due to function redefinition. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
0852033309
commit
43db571b2d
@ -3,6 +3,7 @@
|
||||
obj-y += sbc-boot.o
|
||||
|
||||
ifndef CONFIG_SPL_BUILD
|
||||
ifdef CONFIG_MICRO_SUPPORT_CARD
|
||||
obj-y += sbc.o
|
||||
|
||||
obj-$(CONFIG_ARCH_UNIPHIER_LD4) += sbc-ld4.o
|
||||
@ -13,3 +14,4 @@ obj-$(CONFIG_ARCH_UNIPHIER_LD11) += sbc-ld11.o
|
||||
obj-$(CONFIG_ARCH_UNIPHIER_LD20) += sbc-ld11.o
|
||||
obj-$(CONFIG_ARCH_UNIPHIER_PXS3) += sbc-pxs2.o
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user