| # |
| # (C) Copyright 2003-2008 |
| # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| # |
| # (C) Copyright 2008 |
| # Stelian Pop <stelian@popies.net> |
| # Lead Tech Design <www.leadtechdesign.com> |
| # Ilko Iliev <www.ronetix.at> |
| # |
| # SPDX-License-Identifier: GPL-2.0+ |
| # |
| |
| include $(TOPDIR)/config.mk |
| |
| LIB = $(obj)lib$(BOARD).o |
| |
| COBJS-y += pm9263.o |
| COBJS-y += led.o |
| COBJS-$(CONFIG_HAS_DATAFLASH) += partition.o |
| |
| SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) |
| OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y)) |
| SOBJS := $(addprefix $(obj),$(SOBJS-y)) |
| |
| $(LIB): $(obj).depend $(OBJS) $(SOBJS) |
| $(call cmd_link_o_target, $(OBJS)) |
| |
| ######################################################################### |
| |
| # defines $(obj).depend target |
| include $(SRCTREE)/rules.mk |
| |
| sinclude $(obj).depend |
| |
| ######################################################################### |