projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc/85xx: Rework TQM boards pci_init_board to use common FSL PCIe code
[oweals/u-boot.git]
/
board
/
sbc8560
/
Makefile
diff --git
a/board/sbc8560/Makefile
b/board/sbc8560/Makefile
index c346fdf5a9afb6899aacba8eee787d801c306937..a402ee4d4b10ea8d780c5f4bb35f23182f01e823 100644
(file)
--- a/
board/sbc8560/Makefile
+++ b/
board/sbc8560/Makefile
@@
-26,23
+26,25
@@
include $(TOPDIR)/config.mk
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).
a
+LIB = $(obj)lib$(BOARD).
o
-COBJS := $(BOARD).o law.o
-SOBJS := init.o
+COBJS-y += $(BOARD).o
+COBJS-y += law.o
+COBJS-y += tlb.o
+COBJS-$(CONFIG_FSL_DDR1) += ddr.o
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
+SRCS := $(SOBJS:.o=.S) $(COBJS
-y
:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS
-y
))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
- $(
AR) $(ARFLAGS) $@ $(OBJS
)
+ $(
call cmd_link_o_target, $(OBJS)
)
clean:
rm -f $(OBJS) $(SOBJS)
distclean: clean
clean:
rm -f $(OBJS) $(SOBJS)
distclean: clean
- rm -f $(LIB) core *.bak .depend
+ rm -f $(LIB) core *.bak
$(obj)
.depend
#########################################################################
#########################################################################