2 include $(TOP)/config/make.cfg
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
10 AFILES := coldreboot corelow execstubs stackswap
12 #MM kernel-exec-pc-i386 : kernel-exec-includes
14 #USER_CFLAGS := -I../ -I$(TOP)/rom/exec -I$(GENINCDIR) -D__AROS__
15 USER_CFLAGS := -I../ -I$(TOP)/rom/exec
16 USER_AFLAGS := -I../ -I$(TOP)/rom/exec -I$(GENINCDIR)
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) vesa.c -o $(TARGETDIR)/vesa.o
27 $(KERNEL_LD) -e 0x1000 -Ttext 0x1000 -N -d -nostdlib --oformat binary -o $(TARGETDIR)/vesa $(TARGETDIR)/vesa.o
28 rm $(TARGETDIR)/vesa.o
29 cd $(TARGETDIR) && $(TARGET_LD) -r --format binary vesa -o vesa.bin.o