X-Git-Url: https://git.saurik.com/apple/boot.git/blobdiff_plain/47b0a8bde7689760b67e872ba41bf4187ed315e5..57c72a9a9f2a263d364c2df1178760bd057c390f:/i386/boot1/Makefile diff --git a/i386/boot1/Makefile b/i386/boot1/Makefile index b8f16d0..cb32e5f 100644 --- a/i386/boot1/Makefile +++ b/i386/boot1/Makefile @@ -7,10 +7,10 @@ DIRS_NEEDED = $(OBJROOT) $(SYMROOT) NASM = $(SYMROOT)/nasm -VERSIONED_FILES = boot1 boot1f +VERSIONED_FILES = boot1h VERS = `vers_string -f 5.0 | tr - .` -NEW_VERS = Rhapsody boot1 v$(VERS) +NEW_VERS = Darwin boot1h v$(VERS) ifneq "" "$(wildcard /bin/mkdirs)" MKDIRS = /bin/mkdirs else @@ -19,15 +19,14 @@ endif all: $(DIRS_NEEDED) $(VERSIONED_FILES) -boot1: boot1.s Makefile +boot1h: boot1.s Makefile $(NASM) -dBOOTDEV=HDISK -dVERS="'$(NEW_VERS)'" boot1.s -o $(SYMROOT)/$@ - -boot1f: boot1.s Makefile - $(NASM) -dBOOTDEV=FLOPPY -dVERS="'$(NEW_VERS)'" boot1.s -o $(SYMROOT)/$@ install_i386:: all $(INSTALLDIR) - cp $(SYMROOT)/boot1 $(INSTALLDIR)/ - cp $(SYMROOT)/boot1f $(INSTALLDIR)/ + cp $(SYMROOT)/boot1h $(INSTALLDIR)/ cd $(INSTALLDIR); chmod u+w $(VERSIONED_FILES) +clean:: + rm -f $(SYMROOT)/boot1h + include ../MakeInc.dir