summaryrefslogtreecommitdiff
path: root/board/eNET/Makefile
diff options
context:
space:
mode:
authorGraeme Russ <graeme.russ@gmail.com>2009-08-23 12:59:57 +1000
committerWolfgang Denk <wd@denx.de>2009-09-04 21:57:22 +0200
commitf50b619d9cb297b0125fe78dcd6f255eb0d91659 (patch)
tree01683f12f8c3b47b55784f25bad85c1dabc1ec21 /board/eNET/Makefile
parented7a1b681de1e31d18d5b92e2767ae8df3241687 (diff)
i386: Moved PCI from #ifdef to conditional compile for sc520 boards
Signed-off-by: Graeme Russ <graeme.russ@gmail.com>
Diffstat (limited to 'board/eNET/Makefile')
-rw-r--r--board/eNET/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/board/eNET/Makefile b/board/eNET/Makefile
index 4813b4b53a3..bf5736a7908 100644
--- a/board/eNET/Makefile
+++ b/board/eNET/Makefile
@@ -31,12 +31,12 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(BOARD).a
-COBJS := eNET.o
-SOBJS := eNET_start16.o eNET_start.o
+COBJS-y += eNET.o
+SOBJS-y += eNET_start16.o
+SOBJS-y += eNET_start.o
-SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS := $(addprefix $(obj),$(COBJS))
-SOBJS := $(addprefix $(obj),$(SOBJS))
+SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)