Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Dirk Behme | 7d75a10 | 2008-12-14 09:47:13 +0100 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2000-2003 |
| 4 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Dirk Behme | 7d75a10 | 2008-12-14 09:47:13 +0100 | [diff] [blame] | 5 | |
Siarhei Siamashka | d136654 | 2017-03-06 03:16:52 +0200 | [diff] [blame] | 6 | # If clock.c is compiled for Thumb2, then it fails on OMAP3530 |
| 7 | CFLAGS_clock.o += -marm |
| 8 | |
Masahiro Yamada | d449575 | 2013-10-17 17:34:48 +0900 | [diff] [blame] | 9 | obj-y := lowlevel_init.o |
Dirk Behme | 7d75a10 | 2008-12-14 09:47:13 +0100 | [diff] [blame] | 10 | |
Masahiro Yamada | d449575 | 2013-10-17 17:34:48 +0900 | [diff] [blame] | 11 | obj-y += board.o |
Marek BehĂșn | 900dd0e | 2021-05-20 13:24:19 +0200 | [diff] [blame] | 12 | CFLAGS_REMOVE_board.o := $(LTO_CFLAGS) |
Paul Kocialkowski | 368beeb | 2015-07-15 16:02:24 +0200 | [diff] [blame] | 13 | obj-y += boot.o |
Masahiro Yamada | d449575 | 2013-10-17 17:34:48 +0900 | [diff] [blame] | 14 | obj-y += clock.o |
Masahiro Yamada | d449575 | 2013-10-17 17:34:48 +0900 | [diff] [blame] | 15 | obj-y += sys_info.o |
Semen Protsenko | a8cb022 | 2017-06-02 18:00:00 +0300 | [diff] [blame] | 16 | obj-y += prcm-regs.o |
| 17 | obj-y += hw_data.o |
Tom Rini | 037e2e3 | 2011-11-18 12:48:07 +0000 | [diff] [blame] | 18 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | d449575 | 2013-10-17 17:34:48 +0900 | [diff] [blame] | 19 | obj-$(CONFIG_SPL_OMAP3_ID_NAND) += spl_id_nand.o |
Tom Rini | 037e2e3 | 2011-11-18 12:48:07 +0000 | [diff] [blame] | 20 | endif |
Dirk Behme | 7d75a10 | 2008-12-14 09:47:13 +0100 | [diff] [blame] | 21 | |
Masahiro Yamada | d449575 | 2013-10-17 17:34:48 +0900 | [diff] [blame] | 22 | obj-$(CONFIG_DRIVER_TI_EMAC) += emac.o |
| 23 | obj-$(CONFIG_EMIF4) += emif4.o |
| 24 | obj-$(CONFIG_SDRC) += sdrc.o |
| 25 | obj-$(CONFIG_USB_MUSB_AM35X) += am35x_musb.o |