2 include $(TOP)/config/make.cfg
4 #MM- devs-networks-drivers-e1000-i386 : networking-drivers-e1000
5 #MM- devs-networks-drivers-e1000-x86_64 : networking-drivers-e1000
7 FILES := handler unit e1000
8 INTELCOREFILES := e1000_api e1000_phy e1000_mac e1000_nvm e1000_manage
9 INTELMACFILES := e1000_82540 e1000_82541 e1000_82542 e1000_82543
11 CFLAGSNORMAL = $(CFLAGS) -DDEBUG=0
12 CFLAGSDEBUG = $(CFLAGS) -DDEBUG=1
13 ##CFLAGSDEBUG = $(CFLAGS) -DDEBUG=1 -Dintel_debug
15 #MM- networking-drivers-e1000 : networking-drivers-e1000-normal
16 #MM- networking-drivers-e1000 : networking-drivers-e1000-debug
18 %build_module mmake=networking-drivers-e1000-normal \
19 modname=e1000 modtype=device \
20 files="e1000_init $(FILES) $(INTELCOREFILES) $(INTELMACFILES)" cflags=$(CFLAGSNORMAL) \
21 objdir=$(OBJDIR)/normal moduledir=Devs/Networks uselibs="oop rom amiga hiddstubs"
23 %build_module mmake=networking-drivers-e1000-debug \
24 modname=e1000_debug modtype=device \
25 files="e1000_init $(FILES) $(INTELCOREFILES) $(INTELMACFILES)" conffile=e1000.conf cflags=$(CFLAGSDEBUG) \
26 objdir=$(OBJDIR)/debug moduledir=Storage/Networks uselibs="oop rom amiga hiddstubs"