]>
git.ipfire.org Git - people/ms/u-boot.git/blob - board/freescale/p1022ds/Makefile
2 # Copyright 2010 Freescale Semiconductor, Inc.
4 # This program is free software; you can redistribute it and/or modify it
5 # under the terms of the GNU General Public License as published by the Free
6 # Software Foundation; either version 2 of the License, or (at your option)
10 include $(TOPDIR
)/config.mk
12 LIB
= $(obj
)lib
$(BOARD
).a
19 COBJS-
$(CONFIG_FSL_DIU_FB
) += diu.o
21 SRCS
:= $(SOBJS
:.o
=.S
) $(COBJS-y
:.o
=.c
)
22 OBJS
:= $(addprefix $(obj
),$(COBJS-y
))
23 SOBJS
:= $(addprefix $(obj
),$(SOBJS
))
25 $(LIB
): $(obj
).depend
$(OBJS
) $(SOBJS
)
26 $(AR
) $(ARFLAGS
) $@
$(OBJS
)
29 rm -f
$(OBJS
) $(SOBJS
)
32 rm -f
$(LIB
) core
*.bak .depend
34 #########################################################################
36 # defines $(obj).depend target
37 include $(SRCTREE
)/rules.mk
39 sinclude
$(obj
).depend
41 #########################################################################