]>
Commit | Line | Data |
---|---|---|
18bacc20 PA |
1 | # |
2 | # Copyright 2009 Freescale Semiconductor, Inc. | |
3 | # | |
4 | # This program is free software; you can redistribute it and/or | |
5 | # modify it under the terms of the GNU General Public License | |
6 | # Version 2 as published by the Free Software Foundation. | |
7 | # | |
8 | ||
9 | include $(TOPDIR)/config.mk | |
10 | ||
11 | LIB = $(obj)lib8xxx.a | |
12 | ||
13 | COBJS-y += cpu.o | |
14 | ||
15 | SRCS := $(START:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) | |
16 | OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y)) | |
17 | ||
18 | all: $(obj).depend $(LIB) | |
19 | ||
20 | $(LIB): $(OBJS) | |
21 | $(AR) $(ARFLAGS) $@ $(OBJS) | |
22 | ||
23 | include $(SRCTREE)/rules.mk | |
24 | ||
25 | sinclude $(obj).depend |