Start adding ARCH_ARM rules
This commit is contained in:
parent
8d2578eefc
commit
dee3a94edb
5
Makefile
5
Makefile
|
@ -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 =
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue