Marek Vasut | bc3a4a5 | 2010-04-05 01:50:57 +0200 | [diff] [blame] | 1 | |
| 2 | # |
| 3 | # Copyright (C) 2009 |
| 4 | # Marek Vasut <marek.vasut@gmail.com> |
| 5 | # |
| 6 | # Heavily based on pxa255_idp platform |
| 7 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | # SPDX-License-Identifier: GPL-2.0+ |
Marek Vasut | bc3a4a5 | 2010-04-05 01:50:57 +0200 | [diff] [blame] | 9 | # |
| 10 | |
| 11 | include $(TOPDIR)/config.mk |
| 12 | |
Sebastien Carlier | 6d8962e | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 13 | LIB = $(obj)lib$(BOARD).o |
Marek Vasut | bc3a4a5 | 2010-04-05 01:50:57 +0200 | [diff] [blame] | 14 | |
| 15 | COBJS := zipitz2.o |
Marek Vasut | bc3a4a5 | 2010-04-05 01:50:57 +0200 | [diff] [blame] | 16 | |
Marek Vasut | 24e84c3 | 2010-09-30 12:22:38 +0200 | [diff] [blame] | 17 | SRCS := $(COBJS:.o=.c) |
Marek Vasut | bc3a4a5 | 2010-04-05 01:50:57 +0200 | [diff] [blame] | 18 | OBJS := $(addprefix $(obj),$(COBJS)) |
Marek Vasut | bc3a4a5 | 2010-04-05 01:50:57 +0200 | [diff] [blame] | 19 | |
Marek Vasut | 24e84c3 | 2010-09-30 12:22:38 +0200 | [diff] [blame] | 20 | $(LIB): $(obj).depend $(OBJS) |
Sebastien Carlier | 6d8962e | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 21 | $(call cmd_link_o_target, $(OBJS)) |
Marek Vasut | bc3a4a5 | 2010-04-05 01:50:57 +0200 | [diff] [blame] | 22 | |
Marek Vasut | bc3a4a5 | 2010-04-05 01:50:57 +0200 | [diff] [blame] | 23 | ######################################################################### |
| 24 | |
| 25 | # defines $(obj).depend target |
| 26 | include $(SRCTREE)/rules.mk |
| 27 | |
| 28 | sinclude $(obj).depend |
| 29 | |
| 30 | ######################################################################### |