代码拉取完成,页面将自动刷新
include config-host.mak
all: requirements info build
requirements:
@which xsltproc &>/dev/null || ( echo ; echo "Please install libxslt2"; \
echo; exit 1 )
info:
@echo "Building OpenBIOS for $(TARGETS)"
clean:
@echo "Cleaning up..."
@for dir in $(ODIRS); do \
$(MAKE) -C $$dir clean; \
done
build: start-build
@for dir in $(ODIRS); do \
$(MAKE) -C $$dir > $$dir/build.log 2>&1 && echo "ok." || \
( echo "error:"; tail -15 $$dir/build.log; exit 1 ) \
done
SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGETS))
SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory)
quiet-command = $(if $(V),$1,$(if $(2),@echo $2 && $1, @$1))
build-verbose: start-build $(SUBDIR_RULES)
subdir-%:
$(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C obj-$* V="$(V)" all,)
start-build:
@echo "Building..."
run:
@echo "Running..."
@for dir in $(ODIRS); do \
$$dir/openbios-unix $$dir/openbios-unix.dict; \
done
# The following two targets will only work on x86 so far.
#
$(ODIR)/openbios.iso: $(ODIR)/openbios.multiboot $(ODIR)/openbios-x86.dict
@mkisofs -input-charset UTF-8 -r -b boot/grub/stage2_eltorito -no-emul-boot \
-boot-load-size 4 -boot-info-table -o $@ utils/iso $^
runiso: $(ODIR)/openbios.iso
qemu -cdrom $^
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。