mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
Sorry, my last commit was incomplete
This commit is contained in:
parent
5bd5f161e8
commit
d6f8092732
@ -175,9 +175,9 @@ rule AssembleNasm
|
||||
actions AssembleNasm
|
||||
{
|
||||
if test $(ASFLAGS) ; then
|
||||
$(HAIKU_YASM) -d $(ASFLAGS) -f elf32 -o $(1) $(2);
|
||||
$(HAIKU_NASM) -d $(ASFLAGS) -f elf32 -o $(1) $(2);
|
||||
else
|
||||
$(HAIKU_YASM) -f elf32 -o $(1) $(2);
|
||||
$(HAIKU_NASM) -f elf32 -o $(1) $(2);
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ rule BuildAnybootMBR binary : source {
|
||||
|
||||
actions BuildAnybootMBR1 {
|
||||
$(RM) $(1)
|
||||
$(HAIKU_YASM) -f bin $(MBR_SOURCE) -O5 -o $(1)
|
||||
$(HAIKU_NASM) -f bin $(MBR_SOURCE) -O5 -o $(1)
|
||||
}
|
||||
|
||||
rule BuildAnybootImage anybootImage : mbrPart : isoPart : imageFile {
|
||||
|
4
configure
vendored
4
configure
vendored
@ -687,7 +687,7 @@ if [ "$HAIKU_HOST_BUILD_ONLY" = 1 ]; then
|
||||
HAIKU_OBJCOPY=$invalidCommand
|
||||
HAIKU_RANLIB=$invalidCommand
|
||||
HAIKU_ELFEDIT=$invalidCommand
|
||||
HAIKU_YASM=$invalidCommand
|
||||
HAIKU_NASM=$invalidCommand
|
||||
HAIKU_STRIP=$invalidCommand
|
||||
else
|
||||
if [ -n "$HAIKU_PACKAGING_ARCHS" ]; then
|
||||
@ -874,7 +874,7 @@ HAIKU_PACKAGING_ARCHS ?= ${HAIKU_PACKAGING_ARCHS} ;
|
||||
|
||||
HAIKU_BUILD_ATTRIBUTES_DIR ?= ${HAIKU_BUILD_ATTRIBUTES_DIR} ;
|
||||
|
||||
HAIKU_YASM ?= ${HAIKU_YASM} ;
|
||||
HAIKU_NASM ?= ${HAIKU_NASM} ;
|
||||
|
||||
HOST_EXTENDED_REGEX_SED ?= ${HOST_EXTENDED_REGEX_SED} ;
|
||||
HOST_GCC_RAW_VERSION ?= ${HOST_GCC_RAW_VERSION} ;
|
||||
|
@ -31,19 +31,19 @@ DoCatalogs BootManager : x-vnd.Haiku-BootManager : $(cataloguedSources) ;
|
||||
# Assemble the boot loader, and convert it into a header file
|
||||
|
||||
# TODO: should be merged with the AssembleNasm rule
|
||||
rule AssembleYasmBin object : source
|
||||
rule AssembleNasmBin object : source
|
||||
{
|
||||
SEARCH on $(source) = $(SUBDIR) ;
|
||||
MakeLocateDebug $(object) ;
|
||||
Depends $(object) : $(source) ;
|
||||
}
|
||||
|
||||
actions AssembleYasmBin
|
||||
actions AssembleNasmBin
|
||||
{
|
||||
$(HAIKU_YASM) -f bin -o $(1) $(2)
|
||||
$(HAIKU_NASM) -f bin -o $(1) $(2)
|
||||
}
|
||||
|
||||
AssembleYasmBin [ FGristFiles bootman.bin ] : bootman.S ;
|
||||
AssembleNasmBin [ FGristFiles bootman.bin ] : bootman.S ;
|
||||
|
||||
DataFileToSourceFile [ FGristFiles BootLoader.h ] : [ FGristFiles bootman.bin ]
|
||||
: kBootLoader : kBootLoaderSize ;
|
||||
|
@ -10,19 +10,19 @@ Application writembr :
|
||||
|
||||
# Assemble the MBR code, and convert it into a header file
|
||||
|
||||
rule AssembleYasmBin object : source
|
||||
rule AssembleNasmBin object : source
|
||||
{
|
||||
SEARCH on $(source) = $(SUBDIR) ;
|
||||
MakeLocateDebug $(object) ;
|
||||
Depends $(object) : $(source) ;
|
||||
}
|
||||
|
||||
actions AssembleYasmBin
|
||||
actions AssembleNasmBin
|
||||
{
|
||||
$(HAIKU_YASM) -f bin -O5 -o $(1) $(2)
|
||||
$(HAIKU_NASM) -f bin -O5 -o $(1) $(2)
|
||||
}
|
||||
|
||||
AssembleYasmBin [ FGristFiles mbr.bin ] : mbr.S ;
|
||||
AssembleNasmBin [ FGristFiles mbr.bin ] : mbr.S ;
|
||||
|
||||
DataFileToSourceFile [ FGristFiles MBR.h ] : [ FGristFiles mbr.bin ]
|
||||
: kMBR : kMBRSize ;
|
||||
|
Loading…
Reference in New Issue
Block a user