mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
More work on generic VGA driver
svn path=/trunk/; revision=519
This commit is contained in:
parent
389b5fe480
commit
480d6d6388
1 changed files with 20 additions and 7 deletions
|
@ -1,30 +1,43 @@
|
|||
#
|
||||
#
|
||||
#
|
||||
OBJECTS = vga.o ../../../ntoskrnl/ntoskrnl.a ../vidport/vidport.a
|
||||
MP_OBJECTS = vgamp.o ../../../ntoskrnl/ntoskrnl.a ../vidport/vidport.a
|
||||
DDI_OBJECTS = vgaddi.o ../../subsys/win32k/win32k.a
|
||||
|
||||
all: vga.sys
|
||||
all: vgamp.sys vgaddi.sys
|
||||
|
||||
.phony: all
|
||||
|
||||
clean:
|
||||
- $(RM) vga.o
|
||||
- $(RM) *.o
|
||||
- $(RM) junk.tmp
|
||||
- $(RM) base.tmp
|
||||
- $(RM) temp.exp
|
||||
- $(RM) vga.sys
|
||||
- $(RM) *.sys
|
||||
|
||||
.phony: clean
|
||||
|
||||
vga.sys: $(OBJECTS)
|
||||
vgamp.sys: $(OBJECTS)
|
||||
$(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
|
||||
-Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
|
||||
-Wl,--base-file,base.tmp $(OBJECTS)
|
||||
- $(RM) junk.tmp
|
||||
$(DLLTOOL) --dllname vga.sys --base-file base.tmp \
|
||||
$(DLLTOOL) --dllname vgamp.sys --base-file base.tmp \
|
||||
--output-exp temp.exp
|
||||
- $(RM) base.tmp
|
||||
$(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
|
||||
-specs=../../svc_specs -mdll -o vga.sys $(OBJECTS) -Wl,temp.exp
|
||||
-specs=../../svc_specs -mdll -o vgamp.sys $(OBJECTS) -Wl,temp.exp
|
||||
- $(RM) temp.exp
|
||||
|
||||
vgaddi.sys: $(OBJECTS)
|
||||
$(CC) -specs=../../svc_specs -mdll -o junk.tmp -Wl,--defsym,_end=end \
|
||||
-Wl,--defsym,_edata=__data_end__ -Wl,--defsym,_etext=etext \
|
||||
-Wl,--base-file,base.tmp $(OBJECTS)
|
||||
- $(RM) junk.tmp
|
||||
$(DLLTOOL) --dllname vgaddi.sys --base-file base.tmp \
|
||||
--output-exp temp.exp
|
||||
- $(RM) base.tmp
|
||||
$(CC) --verbose -Wl,--image-base,0x10000 -Wl,-e,_DriverEntry@8 \
|
||||
-specs=../../svc_specs -mdll -o vgaddi.sys $(OBJECTS) -Wl,temp.exp
|
||||
- $(RM) temp.exp
|
||||
|
||||
|
|
Loading…
Reference in a new issue