blob: 6c187190b2304351f1d810aa909ab24eb2f25d74 [file] [log] [blame]
Macpaul Linfd8fed42011-09-23 16:48:16 +08001#
2# Copyright (C) 2011 Andes Technology Corporation
3# Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Macpaul Linfd8fed42011-09-23 16:48:16 +08006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
ken kuoa78dac72013-08-06 01:00:54 +080012COBJS-y := adp-ag102.o
Macpaul Linfd8fed42011-09-23 16:48:16 +080013
ken kuo951344b2013-07-25 02:24:54 +080014SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
15OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y))
Macpaul Linfd8fed42011-09-23 16:48:16 +080016
17$(LIB): $(OBJS)
18 $(call cmd_link_o_target, $(OBJS))
19
20#########################################################################
21
22# defines $(obj).depend target
23include $(SRCTREE)/rules.mk
24
25sinclude $(obj).depend
26
27#########################################################################