From: Adrian Ratiu Date: Tue, 12 Feb 2019 19:05:20 +0200 Subject: [U-Boot] [PATCH 3/5] spl: Add ability to disable SPL FAT In-Reply-To: <20190212170522.27262-1-adrian.ratiu@collabora.com> References: <20190212170522.27262-1-adrian.ratiu@collabora.com> Message-ID: <20190212170522.27262-3-adrian.ratiu@collabora.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Sjoerd Simons spl_usb depends on FAT support, so don't try to build it if fat support is disabled for SPL. Signed-off-by: Sjoerd Simons --- common/spl/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/spl/Makefile b/common/spl/Makefile index e1daabf1e9c..42db0441559 100644 --- a/common/spl/Makefile +++ b/common/spl/Makefile @@ -22,7 +22,9 @@ obj-$(CONFIG_$(SPL_TPL_)NET_SUPPORT) += spl_net.o obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += spl_mmc.o obj-$(CONFIG_$(SPL_TPL_)ATF) += spl_atf.o obj-$(CONFIG_$(SPL_TPL_)OPTEE) += spl_optee.o +ifdef CONFIG_SPL_FS_FAT obj-$(CONFIG_$(SPL_TPL_)USB_SUPPORT) += spl_usb.o +endif obj-$(CONFIG_$(SPL_TPL_)FS_FAT) += spl_fat.o obj-$(CONFIG_$(SPL_TPL_)FS_EXT4) += spl_ext.o obj-$(CONFIG_$(SPL_TPL_)SATA_SUPPORT) += spl_sata.o -- 2.20.1