dot.mkvars

来自「Simple Operating Systems (简称SOS)是一个可以运行在」· MKVARS 代码 · 共 30 行

MKVARS
30
字号
# For cross-compilation and/or installations without grub available,# copy this file as .mkvars to the root directory of the SOS sources,# and customize the CC/LD/... variables. You still need the mtools# installed and runningCC := i586-gnu-gccLD := i586-gnu-ldOBJCOPY := i586-gnu-objcopyCFLAGS += -O3# Configuration of mtoolsMTOOLSRC = extra/mtoolsrcexport MTOOLSRC$(MULTIBOOT_IMAGE): $(KERNEL_OBJ) menu.txt	gzip -dc < extra/grub.img.gz > $@	mcopy menu.txt v:/boot/grub/	mmd v:/system	mcopy sos.elf v:/system/sos.elfmenu.txt:	echo timeout 0 > $@	echo default 0 >> $@	echo title  SOS >> $@	echo "root   (fd0)" >> $@	echo kernel /system/sos.elf >> $@runbochs: all	echo c | bochs -q

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?