mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 22:03:22 +09:00
![Mugunthan V N](/assets/img/avatar_default.png)
To prepare timer driver to DM/DT conversion do not build the exiting timer driver when CONFIG_TIMER is defined. But since omap's SPL doesn't support DM yet so built timer driver only for SPL build when CONFIG_TIMER is defined. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
39 lines
641 B
Makefile
39 lines
641 B
Makefile
#
|
|
# (C) Copyright 2000-2003
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-y := reset.o
|
|
ifeq ($(CONFIG_TIMER),)
|
|
obj-y += timer.o
|
|
else
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += timer.o
|
|
endif
|
|
endif
|
|
obj-y += utils.o
|
|
|
|
ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
|
|
obj-y += hwinit-common.o
|
|
obj-y += clocks-common.o
|
|
obj-y += emif-common.o
|
|
obj-y += vc.o
|
|
obj-y += abb.o
|
|
endif
|
|
|
|
ifneq ($(CONFIG_OMAP54XX),)
|
|
obj-y += pipe3-phy.o
|
|
obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_SYS_DCACHE_OFF),)
|
|
obj-y += omap-cache.o
|
|
endif
|
|
|
|
obj-y += boot-common.o
|
|
obj-y += lowlevel_init.o
|
|
|
|
obj-y += mem-common.o
|