mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
50 lines
1 KiB
Makefile
50 lines
1 KiB
Makefile
#
|
|
# (C) Copyright 2000-2003
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
LIB = $(obj)libomap-common.o
|
|
|
|
COBJS := reset.o
|
|
COBJS += timer.o
|
|
COBJS += utils.o
|
|
|
|
ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
|
|
COBJS += hwinit-common.o
|
|
COBJS += clocks-common.o
|
|
COBJS += emif-common.o
|
|
COBJS += vc.o
|
|
COBJS += abb.o
|
|
endif
|
|
|
|
ifneq ($(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TI814X),)
|
|
COBJS += boot-common.o
|
|
SOBJS += lowlevel_init.o
|
|
endif
|
|
|
|
ifndef CONFIG_SPL_BUILD
|
|
ifneq ($(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX),)
|
|
COBJS += mem-common.o
|
|
endif
|
|
endif
|
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
|
|
|
|
all: $(obj).depend $(LIB)
|
|
|
|
$(LIB): $(OBJS)
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
#########################################################################
|
|
|
|
# defines $(obj).depend target
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|