]> git.sur5r.net Git - u-boot/commitdiff
microblaze: Clean Makefile from ancient emac driver
authorMichal Simek <monstr@monstr.eu>
Fri, 28 Mar 2008 09:58:15 +0000 (10:58 +0100)
committerMichal Simek <monstr@monstr.eu>
Tue, 8 Apr 2008 13:38:14 +0000 (15:38 +0200)
Signed-off-by: Michal Simek <monstr@monstr.eu>
board/xilinx/ml401/Makefile
board/xilinx/xupv2p/Makefile

index 9ab5633626ed95d5aaa96d8f2472668e6ccf9b61..ee9b6d5d2984ed68b7c391d819644cec2b39ded2 100644 (file)
 #
 
 include $(TOPDIR)/config.mk
-ifneq ($(OBJTREE),$(SRCTREE))
-$(shell mkdir -p $(obj)../common)
-$(shell mkdir -p $(obj)../xilinx_enet)
-endif
-
-INCS           := -I../common -I../xilinx_enet
-CFLAGS         += $(INCS)
-HOST_CFLAGS    += $(INCS)
 
 LIB    = $(obj)lib$(BOARD).a
 
-COBJS  = $(BOARD).o \
-         ../xilinx_enet/emac_adapter.o  ../xilinx_enet/xemac.o \
-         ../xilinx_enet/xemac_options.o ../xilinx_enet/xemac_polled.o \
-         ../xilinx_enet/xemac_intr.o ../xilinx_enet/xemac_g.o \
-         ../xilinx_enet/xemac_intr_dma.o ../common/xipif_v1_23_b.o \
-         ../common/xbasic_types.o ../common/xdma_channel.o \
-         ../common/xdma_channel_sg.o ../common/xpacket_fifo_v1_00_b.o \
-         ../common/xversion.o \
+COBJS  = $(BOARD).o
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
index 9ab5633626ed95d5aaa96d8f2472668e6ccf9b61..ee9b6d5d2984ed68b7c391d819644cec2b39ded2 100644 (file)
 #
 
 include $(TOPDIR)/config.mk
-ifneq ($(OBJTREE),$(SRCTREE))
-$(shell mkdir -p $(obj)../common)
-$(shell mkdir -p $(obj)../xilinx_enet)
-endif
-
-INCS           := -I../common -I../xilinx_enet
-CFLAGS         += $(INCS)
-HOST_CFLAGS    += $(INCS)
 
 LIB    = $(obj)lib$(BOARD).a
 
-COBJS  = $(BOARD).o \
-         ../xilinx_enet/emac_adapter.o  ../xilinx_enet/xemac.o \
-         ../xilinx_enet/xemac_options.o ../xilinx_enet/xemac_polled.o \
-         ../xilinx_enet/xemac_intr.o ../xilinx_enet/xemac_g.o \
-         ../xilinx_enet/xemac_intr_dma.o ../common/xipif_v1_23_b.o \
-         ../common/xbasic_types.o ../common/xdma_channel.o \
-         ../common/xdma_channel_sg.o ../common/xpacket_fifo_v1_00_b.o \
-         ../common/xversion.o \
+COBJS  = $(BOARD).o
 
 SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))