Macpaul Lin | 5f1719c | 2011-10-19 20:41:10 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2011 Andes Technology Corporation |
| 3 | # Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com> |
| 4 | # Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com> |
| 5 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | # SPDX-License-Identifier: GPL-2.0+ |
Macpaul Lin | 5f1719c | 2011-10-19 20:41:10 +0000 | [diff] [blame] | 7 | # |
| 8 | |
| 9 | include $(TOPDIR)/config.mk |
| 10 | |
| 11 | LIB = $(obj)lib$(BOARD).o |
| 12 | |
ken kuo | 951344b | 2013-07-25 02:24:54 +0800 | [diff] [blame] | 13 | COBJS-y := adp-ag101.o |
Macpaul Lin | 5f1719c | 2011-10-19 20:41:10 +0000 | [diff] [blame] | 14 | |
ken kuo | 951344b | 2013-07-25 02:24:54 +0800 | [diff] [blame] | 15 | SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) |
| 16 | OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y)) |
Macpaul Lin | 5f1719c | 2011-10-19 20:41:10 +0000 | [diff] [blame] | 17 | |
| 18 | $(LIB): $(OBJS) |
| 19 | $(call cmd_link_o_target, $(OBJS)) |
| 20 | |
| 21 | ######################################################################### |
| 22 | |
| 23 | # defines $(obj).depend target |
| 24 | include $(SRCTREE)/rules.mk |
| 25 | |
| 26 | sinclude $(obj).depend |
| 27 | |
| 28 | ######################################################################### |