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.
This commit is contained in:
Mike Beaton 2024-04-24 22:49:41 +01:00
parent 8e4aa67521
commit ef84551c02
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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.