3 # Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
6 # Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9 # Kenati Technologies, Inc.
12 # Mark Jonas <mark.jonas@de.bosch.com>
16 # This program is free software; you can redistribute it and/or
17 # modify it under the terms of the GNU General Public License as
18 # published by the Free Software Foundation; either version 2 of
19 # the License, or (at your option) any later version.
21 # This program is distributed in the hope that it will be useful,
22 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 # GNU General Public License for more details.
26 # You should have received a copy of the GNU General Public License
27 # along with this program; if not, write to the Free Software
28 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
31 include $(TOPDIR
)/config.mk
33 LIB
= $(obj
)lib
$(BOARD
).a
36 SOBJS
:= lowlevel_init.o
38 SRCS
:= $(SOBJS
:.o
=.S
) $(COBJS
:.o
=.c
)
39 OBJS
:= $(addprefix $(obj
),$(COBJS
))
40 SOBJS
:= $(addprefix $(obj
),$(SOBJS
))
42 $(LIB
): $(OBJS
) $(SOBJS
)
43 $(AR
) $(ARFLAGS
) $@
$(OBJS
) $(SOBJS
)
46 rm -f
$(SOBJS
) $(OBJS
)
49 rm -f
$(LIB
) core
*.bak
$(obj
).depend
51 #########################################################################
53 # defines $(obj).depend target
54 include $(SRCTREE
)/rules.mk
56 sinclude
$(obj
).depend
58 #########################################################################