Fix IO memory access .. SB128 driver makes noises in VMWare - CMI is untested (Curren...
[AROS.git] / arch / i386-pc / exec / mmakefile.src
blob458d05eaa7b48f3bd805252379ef4dc0e74af61b
1 # $Id$
2 include $(TOP)/config/make.cfg
4 CFILES          := \
5         exec_init disable enable switch preparecontext rawputchar \
6         newaddtask cause dispatch debug supervisor reschedule permit \
7         wait remtask settaskpri signal setexcept superstate userstate \
8         core traps screen serialrawio execfunctions prepareexecbase \
9         cachecleare memoryrawio
11 AFILES          := coldreboot corelow
13 #MM kernel-exec-pc-i386 : kernel-kernel-includes kernel-exec-includes includes-asm_h-i386
15 USER_CFLAGS     := -I$(SRCDIR)/rom/exec
16 USER_AFLAGS     := -I$(SRCDIR)/rom/exec -I$(GENINCDIR)
17 %build_archspecific \
18   mainmmake=kernel-exec maindir=rom/exec arch=pc-i386 \
19   files=$(CFILES) asmfiles=$(AFILES) modulename=exec
21 TARGETDIR = $(BD_OBJDIR$(BDID))
23 kernel-exec-pc-i386 :: $(TARGETDIR)/vesa.bin.o
25 $(TARGETDIR)/vesa.bin.o: vesa.c
26         $(TARGET_CC) $(CFLAGS) -c -I$(GENINCDIR) $< -o $(TARGETDIR)/vesa.o
27         $(KERNEL_LD) $(KERNEL_LDFLAGS) -e 0x1000 -Ttext 0x1000 -N -d \
28         -nostdlib --oformat binary -o $(TARGETDIR)/vesa $(TARGETDIR)/vesa.o
29         rm $(TARGETDIR)/vesa.o
30         cd $(TARGETDIR) && $(TARGET_LD) -r --format binary vesa -o vesa.bin.o