]>
git.ipfire.org Git - people/ms/u-boot.git/blob - board/freescale/corenet_ds/Makefile
2 # Copyright 2007-2009 Freescale Semiconductor, Inc.
3 # (C) Copyright 2001-2006
4 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 # SPDX-License-Identifier: GPL-2.0+
9 include $(TOPDIR
)/config.mk
11 LIB
= $(obj
)lib
$(BOARD
).o
15 COBJS-
$(CONFIG_P3041DS
) += eth_hydra.o
16 COBJS-
$(CONFIG_P4080DS
) += eth_p4080.o
17 COBJS-
$(CONFIG_P5020DS
) += eth_hydra.o
18 COBJS-
$(CONFIG_P5040DS
) += eth_superhydra.o
19 COBJS-
$(CONFIG_P3041DS
) += p3041ds_ddr.o
20 COBJS-
$(CONFIG_P4080DS
) += p4080ds_ddr.o
21 COBJS-
$(CONFIG_P5020DS
) += p5020ds_ddr.o
22 COBJS-
$(CONFIG_P5040DS
) += p5040ds_ddr.o
24 SRCS
:= $(SOBJS
:.o
=.S
) $(COBJS-y
:.o
=.c
)
25 OBJS
:= $(addprefix $(obj
),$(COBJS-y
))
26 SOBJS
:= $(addprefix $(obj
),$(SOBJS
))
28 $(LIB
): $(obj
).depend
$(OBJS
) $(SOBJS
)
29 $(call cmd_link_o_target
, $(OBJS
))
31 #########################################################################
33 # defines $(obj).depend target
34 include $(SRCTREE
)/rules.mk
36 sinclude
$(obj
).depend
38 #########################################################################