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