Add the checksum required step for atari_m68k on the boot floppy.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30471 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -7,6 +7,8 @@ if $(TARGET_ARCH) = x86 {
|
|||||||
X86_ONLY = "" ;
|
X86_ONLY = "" ;
|
||||||
} else if $(TARGET_ARCH) = ppc {
|
} else if $(TARGET_ARCH) = ppc {
|
||||||
X86_ONLY = ;
|
X86_ONLY = ;
|
||||||
|
} else if $(TARGET_ARCH) = m68k {
|
||||||
|
X86_ONLY = ;
|
||||||
}
|
}
|
||||||
|
|
||||||
local GPL_ONLY = ;
|
local GPL_ONLY = ;
|
||||||
|
|||||||
@@ -1059,6 +1059,10 @@ rule BuildFloppyBootImage image : haikuLoader : archive
|
|||||||
FLOPPY_IMAGE_SIZE on $(image) = $(HAIKU_BOOT_FLOPPY_IMAGE_SIZE) ;
|
FLOPPY_IMAGE_SIZE on $(image) = $(HAIKU_BOOT_FLOPPY_IMAGE_SIZE) ;
|
||||||
ARCHIVE_IMAGE_OFFSET on $(image) = $(HAIKU_BOOT_ARCHIVE_IMAGE_OFFSET) ;
|
ARCHIVE_IMAGE_OFFSET on $(image) = $(HAIKU_BOOT_ARCHIVE_IMAGE_OFFSET) ;
|
||||||
BuildFloppyBootImage1 $(image) : $(haikuLoader) $(archive) ;
|
BuildFloppyBootImage1 $(image) : $(haikuLoader) $(archive) ;
|
||||||
|
if $(HAIKU_BOOT_PLATFORM) = atari_m68k {
|
||||||
|
Depends $(image) : <build>fixup_tos_boot_checksum ;
|
||||||
|
BuildFloppyBootImageAtariM68K $(image) : <build>fixup_tos_boot_checksum ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
actions BuildFloppyBootImage1
|
actions BuildFloppyBootImage1
|
||||||
@@ -1072,6 +1076,11 @@ actions BuildFloppyBootImage1
|
|||||||
dd if=$(>[2]) of=$(<) bs=$(ARCHIVE_IMAGE_OFFSET)k seek=1 conv=notrunc
|
dd if=$(>[2]) of=$(<) bs=$(ARCHIVE_IMAGE_OFFSET)k seek=1 conv=notrunc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
actions BuildFloppyBootImageAtariM68K
|
||||||
|
{
|
||||||
|
# fixup the boot sector checksum
|
||||||
|
$(>[1]) $(<)
|
||||||
|
}
|
||||||
|
|
||||||
#pragma mark - CD Boot Image rules
|
#pragma mark - CD Boot Image rules
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user