2011-09-23 08:48:16 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2011 Andes Technology Corporation
|
|
|
|
# Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-09-23 08:48:16 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
|
2013-08-05 17:00:54 +00:00
|
|
|
COBJS-y := adp-ag102.o
|
2011-09-23 08:48:16 +00:00
|
|
|
|
2013-07-24 18:24:54 +00:00
|
|
|
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y))
|
2011-09-23 08:48:16 +00:00
|
|
|
|
|
|
|
$(LIB): $(OBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|