2010-03-07 22:35:48 +00:00
|
|
|
#
|
2010-07-22 14:51:52 +00:00
|
|
|
# Voipac PXA270 Support
|
2010-03-07 22:35:48 +00:00
|
|
|
#
|
2010-07-22 14:51:52 +00:00
|
|
|
# Copyright (C) 2010 Marek Vasut <marek.vasut@gmail.com>
|
2010-03-07 22:35:48 +00:00
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2010-03-07 22:35:48 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2010-03-07 22:35:48 +00:00
|
|
|
|
2011-10-31 13:17:21 +00:00
|
|
|
ifndef CONFIG_SPL_BUILD
|
2010-08-08 13:55:50 +00:00
|
|
|
COBJS := vpac270.o
|
2011-10-31 13:17:21 +00:00
|
|
|
else
|
|
|
|
COBJS := onenand.o
|
|
|
|
endif
|
2010-03-07 22:35:48 +00:00
|
|
|
|
2010-09-28 13:50:49 +00:00
|
|
|
SRCS := $(COBJS:.o=.c)
|
2010-08-08 13:55:50 +00:00
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
|
2010-09-28 13:50:49 +00:00
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2010-03-07 22:35:48 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
2010-08-08 13:55:50 +00:00
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
2010-03-07 22:35:48 +00:00
|
|
|
|
2010-08-08 13:55:50 +00:00
|
|
|
sinclude $(obj).depend
|
2010-03-07 22:35:48 +00:00
|
|
|
|
|
|
|
#########################################################################
|