]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/mpl/pip405/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[people/ms/u-boot.git] / board / mpl / pip405 / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # SPDX-License-Identifier: GPL-2.0+
6 #
7
8 include $(TOPDIR)/config.mk
9 ifneq ($(OBJTREE),$(SRCTREE))
10 $(shell mkdir -p $(obj)../common)
11 endif
12
13 LIB = $(obj)lib$(BOARD).o
14
15 COBJS = $(BOARD).o cmd_pip405.o \
16 ../common/pci.o \
17 ../common/isa.o \
18 ../common/kbd.o \
19 ../common/usb_uhci.o \
20 ../common/common_util.o
21
22 SOBJS = init.o
23
24 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
25 OBJS := $(addprefix $(obj),$(COBJS))
26 SOBJS := $(addprefix $(obj),$(SOBJS))
27
28 $(LIB): $(OBJS) $(SOBJS)
29 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
30
31 #########################################################################
32
33 # defines $(obj).depend target
34 include $(SRCTREE)/rules.mk
35
36 sinclude $(obj).depend
37
38 #########################################################################