blob: 430a75f6f8c2b8369bf6097d4b43bcc05f314af4 [file] [log] [blame]
Poonam Aggrwal18bacc22009-07-31 12:07:45 +05301#
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
9include $(TOPDIR)/config.mk
10
11LIB = $(obj)lib8xxx.a
12
13COBJS-y += cpu.o
14
15SRCS := $(START:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
16OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
17
18all: $(obj).depend $(LIB)
19
20$(LIB): $(OBJS)
21 $(AR) $(ARFLAGS) $@ $(OBJS)
22
23include $(SRCTREE)/rules.mk
24
25sinclude $(obj).depend