win-pvdrivers

changeset 399:c61ee22db820

fix xenvbd mingw makefile
author Andy Grover <andy.grover@oracle.com>
date Thu Jul 17 10:33:56 2008 -0700 (2008-07-17)
parents e7292fd9e55a
children 8f94eeae17f9
files xenvbd/makefile.mingw
line diff
     1.1 --- a/xenvbd/makefile.mingw	Thu Jul 17 10:33:40 2008 -0700
     1.2 +++ b/xenvbd/makefile.mingw	Thu Jul 17 10:33:56 2008 -0700
     1.3 @@ -1,7 +1,7 @@
     1.4  W32API_PATH=/home/agrover/temp/w32api-3.11
     1.5  
     1.6 -CFLAGS = -Wall -L$(W32API_PATH)/lib/ddk -I$(W32API_PATH)/include/ddk -I../common/include -I../common/include/public -Wno-multichar -Wno-unknown-pragmas
     1.7 +CFLAGS = -O2 -Wall -L$(W32API_PATH)/lib/ddk -I$(W32API_PATH)/include/ddk -I../common/include -I../common/include/public -Wno-multichar -Wno-unknown-pragmas -DDBG
     1.8  
     1.9  xenvbd.sys: xenvbd.c scsiport.c ../mingw/mingw_extras.c
    1.10 -	i586-mingw32msvc-gcc $(CFLAGS) -o $@ -s -shared -Wl,--entry,_load@8 -nostdlib $^ -lntoskrnl -lhal -lscsiport
    1.11 +	i586-mingw32msvc-gcc $(CFLAGS) -o $@ -shared -Wl,--entry,_DriverEntry@8 -nostartfiles -nostdlib -lntoskrnl -lhal -lscsiport
    1.12