2 include $(TOP)/config/make.cfg
4 #MM- workbench-devs-networks-e1000-i386 : workbench-devs-networks-e1000
5 #MM- workbench-devs-networks-e1000-x86_64 : workbench-devs-networks-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
14 USER_LDFLAGS := -static
16 #MM- workbench-devs-networks-e1000 : workbench-devs-networks-e1000-normal
17 #MM- workbench-devs-networks-e1000 : workbench-devs-networks-e1000-debug
19 %build_module mmake=workbench-devs-networks-e1000-normal \
20 modname=e1000 modtype=device \
21 files="e1000_init $(FILES) $(INTELCOREFILES) $(INTELMACFILES)" cflags=$(CFLAGSNORMAL) \
22 objdir=$(OBJDIR)/normal moduledir=Devs/Networks uselibs="hiddstubs"
24 %build_module mmake=workbench-devs-networks-e1000-debug \
25 modname=e1000_debug modtype=device \
26 files="e1000_init $(FILES) $(INTELCOREFILES) $(INTELMACFILES)" conffile=e1000.conf cflags=$(CFLAGSDEBUG) \
27 objdir=$(OBJDIR)/debug moduledir=Storage/Networks uselibs="hiddstubs"