summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2019-05-06 09:55:59 +0800
committerMarek Vasut <marex@denx.de>2019-05-06 12:44:17 +0200
commit5918afda9d43106dd540c04bb05b7718e5f82171 (patch)
treeb9b74a2ceb15ea5edb7b791552e4e1b89f232a35 /Makefile
parent86f578ee85a697afb980233312f9aac1d98816df (diff)
ddr: altera: Compile ALTERA SDRAM in SPL only
Compile ALTERA_SDRAM driver in SPL only. Rename ALTERA_SDRAM to SPL_ALTERA_SDRAM. Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d6a6ef19ab8..5ae5db591ff 100644
--- a/Makefile
+++ b/Makefile
@@ -713,7 +713,7 @@ libs-y += drivers/spi/
libs-$(CONFIG_FMAN_ENET) += drivers/net/fm/
libs-$(CONFIG_SYS_FSL_DDR) += drivers/ddr/fsl/
libs-$(CONFIG_SYS_FSL_MMDC) += drivers/ddr/fsl/
-libs-$(CONFIG_ALTERA_SDRAM) += drivers/ddr/altera/
+libs-$(CONFIG_$(SPL_)ALTERA_SDRAM) += drivers/ddr/altera/
libs-y += drivers/serial/
libs-y += drivers/usb/dwc3/
libs-y += drivers/usb/common/