2011-10-19 20:41:10 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2011 Andes Technology Corporation
|
|
|
|
# Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com>
|
|
|
|
# Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-10-19 20:41:10 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
|
2013-07-24 18:24:54 +00:00
|
|
|
COBJS-y := adp-ag101.o
|
2011-10-19 20:41:10 +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-10-19 20:41:10 +00:00
|
|
|
|
|
|
|
$(LIB): $(OBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|