Fix issues with generation of mbr.bin for gcc4 & anyboot targets
This commit is contained in:
parent
e547662664
commit
219f6c904a
2
build/jam/images/AnybootImage
Normal file → Executable file
2
build/jam/images/AnybootImage
Normal file → Executable file
@ -33,7 +33,7 @@ actions BuildAnybootImage1 {
|
||||
}
|
||||
|
||||
local baseMBR = base_mbr.bin ;
|
||||
local mbrSource = [ FDirName $(HAIKU_TOP) src bin writembr mbr.S ] ;
|
||||
local mbrSource = [ FDirName $(HAIKU_TOP) src bin writembr mbr.nasm ] ;
|
||||
BuildAnybootMBR $(baseMBR) : $(mbrSource) ;
|
||||
MakeLocate $(baseMBR) : $(HAIKU_OUTPUT_DIR) ;
|
||||
MakeLocate $(HAIKU_ANYBOOT) : $(HAIKU_ANYBOOT_DIR) ;
|
||||
|
@ -10,7 +10,7 @@ Application writembr :
|
||||
|
||||
# Assemble the MBR code, and convert it into a header file
|
||||
|
||||
NASMFLAGS on [ FGristFiles mbr.bin ] = -f bin -O5 ;
|
||||
NASMFLAGS on [ FGristFiles mbr.bin ] = -f bin -O5 -dMBR_CODE_ONLY=1 ;
|
||||
|
||||
Object [ FGristFiles mbr.bin ] : mbr.nasm ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user