From 2d3beff2d297d278b3944289be285a59fa7904e0 Mon Sep 17 00:00:00 2001 From: Ismael Luceno Cortes Date: Mon, 18 Feb 2019 09:17:04 +0000 Subject: [PATCH] cmd: pcmcia: Build only if CONFIG_CMD_PCMCIA=y Signed-off-by: Ismael Luceno --- 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.25.1