Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Stelian Pop | d1aea1c | 2008-01-30 21:15:54 +0000 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2000-2008 |
Stelian Pop | 5049752 | 2008-05-08 22:52:09 +0200 | [diff] [blame] | 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Stelian Pop | d1aea1c | 2008-01-30 21:15:54 +0000 | [diff] [blame] | 5 | |
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 6 | obj-$(CONFIG_AT91SAM9260) += at91sam9260_devices.o |
| 7 | obj-$(CONFIG_AT91SAM9G20) += at91sam9260_devices.o |
| 8 | obj-$(CONFIG_AT91SAM9XE) += at91sam9260_devices.o |
| 9 | obj-$(CONFIG_AT91SAM9261) += at91sam9261_devices.o |
| 10 | obj-$(CONFIG_AT91SAM9G10) += at91sam9261_devices.o |
| 11 | obj-$(CONFIG_AT91SAM9263) += at91sam9263_devices.o |
| 12 | obj-$(CONFIG_AT91SAM9RL) += at91sam9rl_devices.o |
| 13 | obj-$(CONFIG_AT91SAM9M10G45) += at91sam9m10g45_devices.o |
| 14 | obj-$(CONFIG_AT91SAM9G45) += at91sam9m10g45_devices.o |
| 15 | obj-$(CONFIG_AT91SAM9N12) += at91sam9n12_devices.o |
| 16 | obj-$(CONFIG_AT91SAM9X5) += at91sam9x5_devices.o |
| 17 | obj-$(CONFIG_AT91_EFLASH) += eflash.o |
| 18 | obj-$(CONFIG_AT91_LED) += led.o |
| 19 | obj-y += clock.o |
| 20 | obj-y += cpu.o |
| 21 | obj-y += reset.o |
Wenyou.Yang@microchip.com | ce8a36f | 2017-08-15 17:40:26 +0800 | [diff] [blame] | 22 | ifeq ($(CONFIG_ATMEL_PIT_TIMER),) |
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 23 | obj-y += timer.o |
Wenyou.Yang@microchip.com | ce8a36f | 2017-08-15 17:40:26 +0800 | [diff] [blame] | 24 | endif |
Stelian Pop | d1aea1c | 2008-01-30 21:15:54 +0000 | [diff] [blame] | 25 | |
Jean-Christophe PLAGNIOL-VILLARD | e32eb4c | 2009-06-13 12:50:04 +0200 | [diff] [blame] | 26 | ifndef CONFIG_SKIP_LOWLEVEL_INIT |
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 27 | obj-y += lowlevel_init.o |
Jean-Christophe PLAGNIOL-VILLARD | e32eb4c | 2009-06-13 12:50:04 +0200 | [diff] [blame] | 28 | endif |
Tom Rini | 1c640a6 | 2017-03-18 09:01:44 -0400 | [diff] [blame] | 29 | |
| 30 | ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD |
| 31 | ifndef CONFIG_HAS_THUMB2 |
| 32 | |
| 33 | CFLAGS_cache.o := -marm |
| 34 | |
| 35 | endif |
| 36 | endif |