get some gp2x stuff out of the way for others
authornotaz <notasas@gmail.com>
Sun, 6 Aug 2017 20:22:53 +0000 (23:22 +0300)
committertwinaphex <libretro@gmail.com>
Fri, 18 Aug 2017 03:14:12 +0000 (05:14 +0200)
Makefile
pico/sound/mix_arm.S [moved from pico/sound/mix_arm.s with 99% similarity]
platform/common/common.mak

index 99ba7ec..e520669 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -204,6 +204,9 @@ tools/textfilter: tools/textfilter.c
 .s.o:
        $(CC) $(CFLAGS) -c $< -o $@
 
+.S.o:
+       $(CC) $(CFLAGS) -c $< -o $@
+
 # special flags - perhaps fix this someday instead?
 pico/draw.o: CFLAGS += -fno-strict-aliasing
 pico/draw2.o: CFLAGS += -fno-strict-aliasing
similarity index 99%
rename from pico/sound/mix_arm.s
rename to pico/sound/mix_arm.S
index 60a0949..5088e61 100644 (file)
@@ -299,6 +299,7 @@ m32_16_mo_no_unal2:
     bx      lr
 
 
+#ifdef __GP2X__
 
 .data
 .align 4
@@ -366,4 +367,6 @@ m32_16l_st_l_no_unal2:
     ldmfd   sp!, {r4-r9,lr}
     bx      lr
 
+#endif /* __GP2X__ */
+
 @ vim:filetype=armasm
index ed3ca48..c8571ac 100644 (file)
@@ -69,7 +69,7 @@ DEFINES += _ASM_32X_DRAW
 SRCS_COMMON += $(R)pico/32x/draw_arm.s
 endif
 ifeq "$(asm_mix)" "1"
-SRCS_COMMON += $(R)pico/sound/mix_arm.s
+SRCS_COMMON += $(R)pico/sound/mix_arm.S
 endif
 endif # ARCH=arm