xref: /openbmc/u-boot/arch/arm/mach-socfpga/Makefile (revision ddf56bc7)
1#
2# (C) Copyright 2000-2003
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# Copyright (C) 2012 Altera Corporation <www.altera.com>
6#
7# SPDX-License-Identifier:	GPL-2.0+
8#
9
10obj-y	+= misc.o timer.o reset_manager.o system_manager.o clock_manager.o \
11	   fpga_manager.o scan_manager.o
12obj-$(CONFIG_SPL_BUILD) += spl.o freeze_controller.o
13
14# QTS-generated config file wrappers
15obj-y	+= wrap_pll_config.o
16obj-$(CONFIG_SPL_BUILD) += wrap_iocsr_config.o wrap_pinmux_config.o	\
17			   wrap_sdram_config.o
18CFLAGS_wrap_iocsr_config.o	+= -I$(srctree)/board/$(BOARDDIR)
19CFLAGS_wrap_pinmux_config.o	+= -I$(srctree)/board/$(BOARDDIR)
20CFLAGS_wrap_pll_config.o	+= -I$(srctree)/board/$(BOARDDIR)
21CFLAGS_wrap_sdram_config.o	+= -I$(srctree)/board/$(BOARDDIR)
22