mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Look for mips* on linux instead of specific variants.
Remove temp .s file when done building .o .
This commit is contained in:
parent
5d343afedb
commit
312cd624d1
@ -179,7 +179,7 @@ endif
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),Linux)
|
||||
ifeq ($(OS_TEST),mips)
|
||||
ifneq (,$(findstring mips, $(OS_TEST)))
|
||||
CPPSRCS := xptcinvoke_mips.cpp xptcstubs_mips.cpp
|
||||
ASFILES := xptcinvoke_asm_mips.s xptcstubs_asm_mips.s
|
||||
#xptcstubs_mips.cpp
|
||||
@ -281,10 +281,11 @@ DEFINES += -DEXPORT_XPTC_API
|
||||
INCLUDES += -I$(srcdir)/../..
|
||||
|
||||
ifeq ($(OS_ARCH),Linux)
|
||||
ifeq ($(OS_TEST),mips)
|
||||
xptcstubs_asm_mips.o: $(PUBLIC)/xptcstubsdef.inc $(srcdir)/xptcstubs_asm_mips.s.m4
|
||||
m4 $(INCLUDES) $(srcdir)/xptcstubs_asm_mips.s.m4 > ./xptcstubs_asm_mips.s
|
||||
$(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) $(srcdir)/xptcstubs_asm_mips.s
|
||||
ifneq (,$(findstring mips, $(OS_TEST)))
|
||||
xptcstubs_asm_mips.o: xptcstubs_asm_mips.s.m4 $(PUBLIC)/xptcstubsdef.inc
|
||||
m4 $(INCLUDES) $< > ./xptcstubs_asm_mips.s && \
|
||||
$(AS) -o $@ $(ASFLAGS) $(AS_DASH_C_FLAG) ./xptcstubs_asm_mips.s
|
||||
$(RM) -f ./xptcstubs_asm_mips.s
|
||||
endif
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user