]>
git.ipfire.org Git - people/ms/u-boot.git/blob - arch/powerpc/cpu/mpc8xxx/Makefile
2 # Copyright 2009-2010 Freescale Semiconductor, Inc.
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # Version 2 as published by the Free Software Foundation.
9 include $(TOPDIR
)/config.mk
13 ifneq ($(CPU
),mpc83xx
)
15 COBJS-
$(CONFIG_PCI
) += pci_cfg.o
18 COBJS-
$(CONFIG_OF_LIBFDT
) += fdt.o
19 COBJS-
$(CONFIG_FSL_LBC
) += fsl_lbc.o
21 SRCS
:= $(START
:.o
=.S
) $(SOBJS-y
:.o
=.S
) $(COBJS-y
:.o
=.c
)
22 OBJS
:= $(addprefix $(obj
),$(SOBJS-y
) $(COBJS-y
))
24 all: $(obj
).depend
$(LIB
)
27 $(AR
) $(ARFLAGS
) $@
$(OBJS
)
29 include $(SRCTREE
)/rules.mk
31 sinclude
$(obj
).depend