diff --git a/Makefile b/Makefile index 4416ac19..5c7c22bd 100644 --- a/Makefile +++ b/Makefile @@ -154,9 +154,11 @@ base/var: mkdir -p $@ fatbase/efi/boot: mkdir -p $@ +cdrom: + mkdir -p $@ .make: mkdir -p .make -dirs: base/dev base/tmp base/proc base/bin base/lib base/cdrom base/var fatbase/efi/boot .make +dirs: base/dev base/tmp base/proc base/bin base/lib base/cdrom cdrom base/var fatbase/efi/boot .make # C Library @@ -246,7 +248,7 @@ image.iso: ${EFI_BOOT} cdrom/boot.sys fatbase/netinit ${MODULES} util/update-ext # This is the filesystem the EFI loaders see, so it must contain # the kernel, modules, and ramdisk, plus anything else we want # available to the bootloader (eg., netinit). -cdrom/fat.img: fatbase/ramdisk.img ${MODULES} fatbase/kernel fatbase/netinit fatbase/efi/boot/bootia32.efi fatbase/efi/boot/bootx64.efi util/mkdisk.sh +cdrom/fat.img: fatbase/ramdisk.img ${MODULES} fatbase/kernel fatbase/netinit fatbase/efi/boot/bootia32.efi fatbase/efi/boot/bootx64.efi util/mkdisk.sh | dirs util/mkdisk.sh $@ fatbase ##