Add a rule to checksum the bootblock inside haiku_loader for Amiga. It seems Jam correctly runs the action after creating the file, though I'm not sure it's correct with respect to jam -j.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38938 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -63,6 +63,26 @@ KernelMergeObject boot_platform_amiga_m68k.o :
|
||||
boot_arch_m68k_040.o
|
||||
;
|
||||
|
||||
# the bootsector in haiku_loader must be checksummed
|
||||
|
||||
rule ChecksumAmigaLoader {
|
||||
local haikuLoader = $(1) ;
|
||||
local checksummer = <build>fixup_amiga_boot_checksum ;
|
||||
|
||||
Depends $(haikuLoader) : $(checksummer) ;
|
||||
|
||||
TARGET_CHECKSUM on $(haikuLoader) = $(checksummer) ;
|
||||
|
||||
}
|
||||
|
||||
actions ChecksumAmigaLoader bind TARGET_CHECKSUM {
|
||||
$(TARGET_CHECKSUM) $(1)
|
||||
}
|
||||
|
||||
|
||||
ChecksumAmigaLoader haiku_loader ;
|
||||
|
||||
|
||||
|
||||
SEARCH on [ FGristFiles text_menu.cpp ]
|
||||
= [ FDirName $(HAIKU_TOP) src system boot platform generic ] ;
|
||||
|
||||
Reference in New Issue
Block a user