Moved AssembleNasm to MainBuildRules.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29805 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -167,6 +167,16 @@ rule StaticLibraryFromObjects
|
|||||||
LibraryFromObjects $(1) : $(2) ;
|
LibraryFromObjects $(1) : $(2) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rule AssembleNasm
|
||||||
|
{
|
||||||
|
Depends $(<) : $(>) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
actions AssembleNasm
|
||||||
|
{
|
||||||
|
nasm -d $(ASFLAGS) -f elf -o $(1) $(2)
|
||||||
|
}
|
||||||
|
|
||||||
rule Ld
|
rule Ld
|
||||||
{
|
{
|
||||||
# Ld <name> : <objs> : <linkerscript> : <flags> ;
|
# Ld <name> : <objs> : <linkerscript> : <flags> ;
|
||||||
|
|||||||
@@ -170,16 +170,6 @@ rule Object
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rule AssembleNasm
|
|
||||||
{
|
|
||||||
Depends $(<) : $(>) ;
|
|
||||||
}
|
|
||||||
|
|
||||||
actions AssembleNasm
|
|
||||||
{
|
|
||||||
nasm -d $(ASFLAGS) -f elf -o $(1) $(2)
|
|
||||||
}
|
|
||||||
|
|
||||||
rule As
|
rule As
|
||||||
{
|
{
|
||||||
local flags ;
|
local flags ;
|
||||||
|
|||||||
Reference in New Issue
Block a user