blob: a57165cccbfc9cfeb2228cf9335f4a706d5b6f84 [file] [log] [blame]
Wolfgang Denk70a20472005-09-25 15:59:01 +02001
2#
Marian Balakowiczf9328632006-09-01 19:49:50 +02003# (C) Copyright 2000-2006
Wolfgang Denk70a20472005-09-25 15:59:01 +02004# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk70a20472005-09-25 15:59:01 +02007#
8
9include $(TOPDIR)/config.mk
10
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010011LIB = $(obj)lib$(BOARD).o
Wolfgang Denk70a20472005-09-25 15:59:01 +020012
Marian Balakowiczf9328632006-09-01 19:49:50 +020013COBJS := pxa_idp.o
Wolfgang Denk70a20472005-09-25 15:59:01 +020014
Marek Vasut65bd6a92010-10-20 21:20:07 +020015SRCS := $(COBJS:.o=.c)
Marian Balakowiczf9328632006-09-01 19:49:50 +020016OBJS := $(addprefix $(obj),$(COBJS))
Marian Balakowiczf9328632006-09-01 19:49:50 +020017
Marek Vasut65bd6a92010-10-20 21:20:07 +020018$(LIB): $(obj).depend $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010019 $(call cmd_link_o_target, $(OBJS))
Wolfgang Denk70a20472005-09-25 15:59:01 +020020
Wolfgang Denk70a20472005-09-25 15:59:01 +020021#########################################################################
22
Marian Balakowiczf9328632006-09-01 19:49:50 +020023# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
Wolfgang Denk70a20472005-09-25 15:59:01 +020025
Marian Balakowiczf9328632006-09-01 19:49:50 +020026sinclude $(obj).depend
Wolfgang Denk70a20472005-09-25 15:59:01 +020027
28#########################################################################