Start adding ARCH_ARM rules

This commit is contained in:
Twinaphex 2014-12-09 22:48:03 +01:00
parent 8d2578eefc
commit dee3a94edb
2 changed files with 6 additions and 1 deletions

View File

@ -72,6 +72,7 @@ else ifeq ($(platform), ios)
TARGET := $(TARGET_NAME)_libretro_ios.dylib
fpic := -fPIC
SHARED := -dynamiclib
CPU_ARCH := arm
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcrun -sdk iphoneos -show-sdk-path)
@ -211,6 +212,10 @@ OBJECTS := $(SOURCES_C:.c=.o) $(SOURCES_ASM:.S=.o)
DEFINES = -DHAVE_STRINGS_H -DHAVE_STDINT_H -DHAVE_INTTYPES_H -D__LIBRETRO__ -DINLINE=inline -DPC_BUILD -Wall
ifeq ($(CPU_ARCH), arm)
DEFINES += -DARM_ARCH
endif
WARNINGS_DEFINES =
CODE_DEFINES =

View File

@ -23,7 +23,7 @@ SOURCES_ASM += $(CORE_DIR)/x86/x86_stub.S
endif
ifeq ($(CPU_ARCH), arm)
SOURCES_ASM += $(CORE_DIR)/arm/arm_stub.S \
$(CORE_DIR)/arm/video_blend.S
$(CORE_DIR)/arm/video_blend.S
endif
INCFLAGS := -I$(CORE_DIR)