blob: a87eb81fb84df656889a66d553e12cdf2ec78799 [file] [log] [blame]
Marek Vasutaaa2a2f2010-07-18 05:23:19 +02001#
2# Palm Tungsten|C Support
3#
4# Copyright (C) 2009-2010 Marek Vasut <marek.vasut@gmail.com>
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Marek Vasutaaa2a2f2010-07-18 05:23:19 +02007#
8
9include $(TOPDIR)/config.mk
10
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010011LIB = $(obj)lib$(BOARD).o
Marek Vasutaaa2a2f2010-07-18 05:23:19 +020012
13COBJS := palmtc.o
Marek Vasutaaa2a2f2010-07-18 05:23:19 +020014
Marek Vasut0f7c54f2010-10-20 21:06:23 +020015SRCS := $(COBJS:.o=.c)
Marek Vasutaaa2a2f2010-07-18 05:23:19 +020016OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
Marek Vasut0f7c54f2010-10-20 21:06:23 +020019$(LIB): $(obj).depend $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010020 $(call cmd_link_o_target, $(OBJS))
Marek Vasutaaa2a2f2010-07-18 05:23:19 +020021
Marek Vasutaaa2a2f2010-07-18 05:23:19 +020022#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################