[U-Boot] [PATCH] cmd: pcmcia: Build only if CONFIG_CMD_PCMCIA=y

Ismael Luceno Cortes ismael.luceno at silicon-gears.com
Mon Feb 18 09:17:04 UTC 2019


Signed-off-by: Ismael Luceno <ismael.luceno at silicon-gears.com>
---
 cmd/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/Makefile b/cmd/Makefile
index 15ae4d250f..a127a99539 100644
--- a/cmd/Makefile
+++ b/cmd/Makefile
@@ -104,7 +104,7 @@ obj-$(CONFIG_CMD_PART) += part.o
 ifdef CONFIG_PCI
 obj-$(CONFIG_CMD_PCI) += pci.o
 endif
-obj-y += pcmcia.o
+obj-$(CONFIG_CMD_PCMCIA) += pcmcia.o
 obj-$(CONFIG_CMD_PINMUX) += pinmux.o
 obj-$(CONFIG_CMD_PXE) += pxe.o
 obj-$(CONFIG_CMD_WOL) += wol.o
-- 
2.19.1


More information about the U-Boot mailing list