Ian Campbell | 643cf0e | 2014-05-05 11:52:23 +0100 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net> |
| 3 | # |
| 4 | # Based on some other Makefile |
| 5 | # (C) Copyright 2000-2003 |
| 6 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 7 | # |
| 8 | # SPDX-License-Identifier: GPL-2.0+ |
| 9 | # |
| 10 | obj-y += timer.o |
Ian Campbell | cba69ee | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 11 | obj-y += board.o |
Ian Campbell | 643cf0e | 2014-05-05 11:52:23 +0100 | [diff] [blame] | 12 | obj-y += clock.o |
Ian Campbell | fe1b4db | 2014-05-05 11:52:24 +0100 | [diff] [blame] | 13 | obj-y += pinmux.o |
Hans de Goede | 745325a | 2014-06-09 11:36:57 +0200 | [diff] [blame] | 14 | obj-$(CONFIG_SUN4I) += clock_sun4i.o |
Hans de Goede | f84269c | 2014-06-09 11:36:58 +0200 | [diff] [blame] | 15 | obj-$(CONFIG_SUN5I) += clock_sun4i.o |
Ian Campbell | 643cf0e | 2014-05-05 11:52:23 +0100 | [diff] [blame] | 16 | obj-$(CONFIG_SUN7I) += clock_sun4i.o |
Ian Campbell | cba69ee | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 17 | |
| 18 | ifndef CONFIG_SPL_BUILD |
| 19 | obj-y += cpu_info.o |
Marc Zyngier | d5db702 | 2014-07-18 21:06:38 +0100 | [diff] [blame] | 20 | ifdef CONFIG_ARMV7_PSCI |
| 21 | obj-y += psci.o |
| 22 | endif |
Ian Campbell | cba69ee | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 23 | endif |
| 24 | |
| 25 | ifdef CONFIG_SPL_BUILD |
Hans de Goede | 745325a | 2014-06-09 11:36:57 +0200 | [diff] [blame] | 26 | obj-$(CONFIG_SUN4I) += dram.o |
Hans de Goede | f84269c | 2014-06-09 11:36:58 +0200 | [diff] [blame] | 27 | obj-$(CONFIG_SUN5I) += dram.o |
Ian Campbell | 286c3c3 | 2014-05-05 11:52:25 +0100 | [diff] [blame] | 28 | obj-$(CONFIG_SUN7I) += dram.o |
Ian Campbell | cba69ee | 2014-05-05 11:52:26 +0100 | [diff] [blame] | 29 | ifdef CONFIG_SPL_FEL |
| 30 | obj-y += start.o |
| 31 | endif |
| 32 | endif |