mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 05:13:21 +09:00
![Wolfgang Denk](/assets/img/avatar_default.png)
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
35 lines
703 B
Makefile
35 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
|
|
|
|
#########################################################################
|