OLD | NEW |
1 # | 1 # |
2 # (C) Copyright 2010,2011 Nvidia Corporation. | 2 # (C) Copyright 2010,2011 Nvidia Corporation. |
3 # | 3 # |
4 # (C) Copyright 2000-2003 | 4 # (C) Copyright 2000-2003 |
5 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. | 5 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
6 # | 6 # |
7 # See file CREDITS for list of people who contributed to this | 7 # See file CREDITS for list of people who contributed to this |
8 # project. | 8 # project. |
9 # | 9 # |
10 # This program is free software; you can redistribute it and/or | 10 # This program is free software; you can redistribute it and/or |
(...skipping 10 matching lines...) Expand all Loading... |
21 # along with this program; if not, write to the Free Software | 21 # along with this program; if not, write to the Free Software |
22 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, | 22 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
23 # MA 02111-1307 USA | 23 # MA 02111-1307 USA |
24 # | 24 # |
25 | 25 |
26 include $(TOPDIR)/config.mk | 26 include $(TOPDIR)/config.mk |
27 | 27 |
28 LIB = $(obj)lib$(SOC).o | 28 LIB = $(obj)lib$(SOC).o |
29 | 29 |
30 SOBJS := lowlevel_init.o | 30 SOBJS := lowlevel_init.o |
31 COBJS» := ap20.o board.o sys_info.o timer.o | 31 COBJS» := ap20.o board.o clock.o sys_info.o timer.o |
32 | 32 |
33 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) | 33 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
34 OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) | 34 OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS)) |
35 | 35 |
36 all: $(obj).depend $(LIB) | 36 all: $(obj).depend $(LIB) |
37 | 37 |
38 $(LIB): $(OBJS) | 38 $(LIB): $(OBJS) |
39 $(AR) $(ARFLAGS) $@ $(OBJS) | 39 $(AR) $(ARFLAGS) $@ $(OBJS) |
40 | 40 |
41 ######################################################################### | 41 ######################################################################### |
42 | 42 |
43 # defines $(obj).depend target | 43 # defines $(obj).depend target |
44 include $(SRCTREE)/rules.mk | 44 include $(SRCTREE)/rules.mk |
45 | 45 |
46 sinclude $(obj).depend | 46 sinclude $(obj).depend |
47 | 47 |
48 ######################################################################### | 48 ######################################################################### |
OLD | NEW |