projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Program EPLD to force full duplex mode for PHY.
[oweals/u-boot.git]
/
board
/
tqm834x
/
Makefile
diff --git
a/board/tqm834x/Makefile
b/board/tqm834x/Makefile
index 4327b0d3ef3f89c1972e149e2f6a6227ea17f6f8..4c0d20417e5a5c49ab74a1f43adff896888368e1 100644
(file)
--- a/
board/tqm834x/Makefile
+++ b/
board/tqm834x/Makefile
@@
-1,4
+1,7
@@
#
#
+# (C) Copyright 2006
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
# Copyright 2004 Freescale Semiconductor, Inc.
#
# See file CREDITS for list of people who contributed to this
# Copyright 2004 Freescale Semiconductor, Inc.
#
# See file CREDITS for list of people who contributed to this
@@
-22,12
+25,16
@@
include $(TOPDIR)/config.mk
include $(TOPDIR)/config.mk
-LIB = lib$(BOARD).a
+LIB = $(obj)lib$(BOARD).a
+
+COBJS = $(BOARD).o pci.o
-OBJS := $(BOARD).o
+SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
+OBJS := $(addprefix $(obj),$(COBJS))
+SOBJS := $(addprefix $(obj),$(SOBJS))
-$(LIB): $(
OBJS) $(S
OBJS)
- $(AR)
crv
$@ $(OBJS)
+$(LIB): $(
obj).depend $(
OBJS)
+ $(AR)
$(ARFLAGS)
$@ $(OBJS)
clean:
rm -f $(SOBJS) $(OBJS)
clean:
rm -f $(SOBJS) $(OBJS)
@@
-37,9
+44,9
@@
distclean: clean
#########################################################################
#########################################################################
-.depend: Makefile $(SOBJS:.o=.S) $(OBJS:.o=.c)
- $(CC) -M $(CPPFLAGS) $(SOBJS:.o=.S) $(OBJS:.o=.c) > $@
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
-
-include
.depend
+
sinclude $(obj)
.depend
#########################################################################
#########################################################################