提交 ef84551c 编写于 作者: M Mike Beaton

OpenDuet: Avoid building non-required boot sector files

Saves only a minimal amount of time, but avoids building e.g. unused StartX64
with default PAGE_TABLE location in IA32.
上级 8e4aa675
......@@ -10,6 +10,10 @@ PRODUCTS64=$(BINDIR)/StartX64_$(PAGE_TABLE).com $(BINDIR)/StartX64_$(PAGE_TABLE_
all: $(PRODUCTS32) $(PRODUCTS64)
IA32: $(PRODUCTS32)
X64: $(PRODUCTS64)
clean:
$(RM) -f $(BINDIR)/*.com
......
......@@ -77,7 +77,7 @@ imgbuild() {
# Build bootsectors.
mkdir -p "${BOOTSECTORS}" || exit 1
cd "${BOOTSECTORS}"/.. || exit 1
make || exit 1
make "${arch}" || exit 1
cd - || exit 1
# Concatenate bootsector into the resulting image.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册