Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (17 sloc) 0.558 kb
#CFLAGS=-D_KERNEL -DDEBUG -m64 -xarch=sse2a -xmodel=kernel -g
CFLAGS= -D_KERNEL -DDEBUG -m64 -mcmodel=kernel -mno-red-zone -ffreestanding -nodefaultlibs -Wall -g
LDFLAGS=-r
ONDIR=/opt/onbld/bin/i386
CTFMERGE=$(ONDIR)/ctfmerge
CTFCONVERT=$(ONDIR)/ctfconvert
#CC=/opt/SUNWspro/bin/cc
CC=gcc
LD=/usr/ccs/bin/ld
all: virtio
virtio: virtio.c virtiovar.h virtioreg.h
$(CC) $(CFLAGS) -c virtio.c -o virtio.o
$(CTFCONVERT) -i -L VERSION virtio.o
$(LD) $(LDFLAGS) virtio.o -o virtio
$(CTFMERGE) -L VERSION -o virtio virtio.o
clean:
rm -f virtio virtio.o
Jump to Line
Something went wrong with that request. Please try again.