Ilko Iliev | f0a2c7b | 2009-04-16 21:30:48 +0200 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2003-2008 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
| 5 | # (C) Copyright 2008 |
Stelian Pop | c9e798d | 2011-11-01 00:00:39 +0100 | [diff] [blame] | 6 | # Stelian Pop <stelian@popies.net> |
Ilko Iliev | f0a2c7b | 2009-04-16 21:30:48 +0200 | [diff] [blame] | 7 | # Lead Tech Design <www.leadtechdesign.com> |
| 8 | # Ilko Iliev <www.ronetix.at> |
| 9 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 10 | # SPDX-License-Identifier: GPL-2.0+ |
Ilko Iliev | f0a2c7b | 2009-04-16 21:30:48 +0200 | [diff] [blame] | 11 | # |
| 12 | |
| 13 | include $(TOPDIR)/config.mk |
| 14 | |
Sebastien Carlier | 6d8962e | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 15 | LIB = $(obj)lib$(BOARD).o |
Ilko Iliev | f0a2c7b | 2009-04-16 21:30:48 +0200 | [diff] [blame] | 16 | |
| 17 | COBJS-y += pm9263.o |
| 18 | COBJS-y += led.o |
| 19 | COBJS-$(CONFIG_HAS_DATAFLASH) += partition.o |
| 20 | |
Ilko Iliev | f0a2c7b | 2009-04-16 21:30:48 +0200 | [diff] [blame] | 21 | SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) |
| 22 | OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y)) |
| 23 | SOBJS := $(addprefix $(obj),$(SOBJS-y)) |
| 24 | |
| 25 | $(LIB): $(obj).depend $(OBJS) $(SOBJS) |
Sebastien Carlier | 6d8962e | 2010-11-05 15:48:07 +0100 | [diff] [blame] | 26 | $(call cmd_link_o_target, $(OBJS)) |
Ilko Iliev | f0a2c7b | 2009-04-16 21:30:48 +0200 | [diff] [blame] | 27 | |
Ilko Iliev | f0a2c7b | 2009-04-16 21:30:48 +0200 | [diff] [blame] | 28 | ######################################################################### |
| 29 | |
| 30 | # defines $(obj).depend target |
| 31 | include $(SRCTREE)/rules.mk |
| 32 | |
| 33 | sinclude $(obj).depend |
| 34 | |
| 35 | ######################################################################### |