summaryrefslogtreecommitdiff
path: root/board/AndesTech/adp-ag101/Makefile
diff options
context:
space:
mode:
authorken kuo <ken.kuoky@gmail.com>2013-07-25 02:24:54 +0800
committerMacpaul Lin <macpaul@gmail.com>2013-07-25 16:54:18 +0800
commit951344b778d6ac67b94011d942a5a55da7202027 (patch)
tree0c34cfc60ec28491d35ad57730e21167186dc3e2 /board/AndesTech/adp-ag101/Makefile
parent4fc967051396e8e82138c65fd65a353f73e51b89 (diff)
downloadu-boot-imx-951344b778d6ac67b94011d942a5a55da7202027.zip
u-boot-imx-951344b778d6ac67b94011d942a5a55da7202027.tar.gz
u-boot-imx-951344b778d6ac67b94011d942a5a55da7202027.tar.bz2
nds32: Convert Makefiles to use COBJS-y style
Signed-off-by: Kuan-Yu Kuo <ken.kuoky@gmail.com> Cc: Macpaul Lin <macpaul@gmail.com>
Diffstat (limited to 'board/AndesTech/adp-ag101/Makefile')
-rw-r--r--board/AndesTech/adp-ag101/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/AndesTech/adp-ag101/Makefile b/board/AndesTech/adp-ag101/Makefile
index d55a799..867e1cf 100644
--- a/board/AndesTech/adp-ag101/Makefile
+++ b/board/AndesTech/adp-ag101/Makefile
@@ -26,10 +26,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).o
-COBJS := adp-ag101.o
+COBJS-y := adp-ag101.o
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
+SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y))
$(LIB): $(OBJS)
$(call cmd_link_o_target, $(OBJS))