aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/Makefile
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-08-02 21:12:09 +0200
committerMarek Vasut <marex@denx.de>2015-08-23 11:56:19 +0200
commitca62d2e1fca4e89b1e15e6bdc634f6ef39a7360d (patch)
tree881c4dc1ee4b28fe1c36cb202d7f197fff7c6f0a /arch/arm/mach-socfpga/Makefile
parentc2624240dd9321b0fd86dba5ecf75d7a73974796 (diff)
downloadu-boot-ca62d2e1fca4e89b1e15e6bdc634f6ef39a7360d.zip
u-boot-ca62d2e1fca4e89b1e15e6bdc634f6ef39a7360d.tar.gz
u-boot-ca62d2e1fca4e89b1e15e6bdc634f6ef39a7360d.tar.bz2
arm: socfpga: Move wrappers into platform directory
Move the wrappers for QTS-generated files into platform directory out of the board directory. The trick here is to add -I to CFLAGS such that it points to the board directory in source tree and thus the qts/ directory there is still reachable. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/mach-socfpga/Makefile')
-rw-r--r--arch/arm/mach-socfpga/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/Makefile b/arch/arm/mach-socfpga/Makefile
index 8a745c9..316b326 100644
--- a/arch/arm/mach-socfpga/Makefile
+++ b/arch/arm/mach-socfpga/Makefile
@@ -10,3 +10,12 @@
obj-y += misc.o timer.o reset_manager.o system_manager.o clock_manager.o \
fpga_manager.o scan_manager.o
obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o
+
+# QTS-generated config file wrappers
+obj-y += wrap_pll_config.o
+obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o \
+ wrap_sdram_config.o
+CFLAGS_wrap_iocsr_config.o += -I$(srctree)/board/$(BOARDDIR)
+CFLAGS_wrap_pinmux_config.o += -I$(srctree)/board/$(BOARDDIR)
+CFLAGS_wrap_pll_config.o += -I$(srctree)/board/$(BOARDDIR)
+CFLAGS_wrap_sdram_config.o += -I$(srctree)/board/$(BOARDDIR)