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 stackswap
12 #MM kernel-exec-pc-i386 : kernel-exec-includes includes-asm_h-i386
14 USER_CFLAGS := -I$(TOP)/rom/exec
15 USER_AFLAGS := -I$(TOP)/rom/exec -I$(GENINCDIR)
17 mainmmake=kernel-exec maindir=rom/exec arch=pc-i386 \
18 files=$(CFILES) asmfiles=$(AFILES) modulename=exec
20 TARGETDIR = $(BD_OBJDIR$(BDID))
22 kernel-exec-pc-i386 :: $(TARGETDIR)/vesa.bin.o
24 $(TARGETDIR)/vesa.bin.o: vesa.c
25 $(TARGET_CC) $(CFLAGS) -c -I$(GENINCDIR) vesa.c -o $(TARGETDIR)/vesa.o
26 $(KERNEL_LD) -e 0x1000 -Ttext 0x1000 -N -d -nostdlib --oformat binary -o $(TARGETDIR)/vesa $(TARGETDIR)/vesa.o
27 rm $(TARGETDIR)/vesa.o
28 cd $(TARGETDIR) && $(TARGET_LD) -r --format binary vesa -o vesa.bin.o