mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-05 02:51:00 +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>
34 lines
703 B
Makefile
34 lines
703 B
Makefile
#
|
|
# Copyright (C) 2009 Samsung Electronics
|
|
# Minkyu Kang <mk7.kang@samsung.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
LIB = $(obj)libs5p-common.o
|
|
|
|
COBJS-y += cpu_info.o
|
|
ifndef CONFIG_SPL_BUILD
|
|
COBJS-y += timer.o
|
|
COBJS-y += sromc.o
|
|
COBJS-$(CONFIG_PWM) += pwm.o
|
|
endif
|
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS))
|
|
|
|
all: $(obj).depend $(LIB)
|
|
|
|
$(LIB): $(OBJS)
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
#########################################################################
|
|
|
|
# defines $(obj).depend target
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|