mirror of
https://github.com/libretro/mame2003-plus-libretro.git
synced 2024-11-23 08:19:42 +00:00
add blocks for targeting rpi0 and rpi1
This commit is contained in:
parent
a8a29c7518
commit
eab67b510d
23
Makefile
23
Makefile
@ -169,6 +169,29 @@ else ifeq ($(platform), ctr)
|
||||
CPU_ARCH := arm
|
||||
STATIC_LINKING = 1
|
||||
|
||||
else ifeq ($(platform), rpi0)
|
||||
TARGET = $(TARGET_NAME)_libretro.so
|
||||
fpic = -fPIC
|
||||
CFLAGS += $(fpic)
|
||||
LDFLAGS += $(fpic) -shared -Wl,--version-script=link.T
|
||||
PLATCFLAGS += -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
|
||||
PLATCFLAGS += -fomit-frame-pointer -ffast-math
|
||||
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions
|
||||
CPU_ARCH := arm
|
||||
ARM = 1
|
||||
USE_CYCLONE := 1
|
||||
|
||||
else ifeq ($(platform), rpi1)
|
||||
TARGET = $(TARGET_NAME)_libretro.so
|
||||
fpic = -fPIC
|
||||
CFLAGS += $(fpic)
|
||||
LDFLAGS += $(fpic) -shared -Wl,--version-script=link.T
|
||||
PLATCFLAGS += -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
|
||||
PLATCFLAGS += -fomit-frame-pointer -ffast-math
|
||||
CXXFLAGS = $(CFLAGS) -fno-rtti -fno-exceptions
|
||||
CPU_ARCH := arm
|
||||
ARM = 1
|
||||
|
||||
else ifeq ($(platform), rpi2)
|
||||
TARGET = $(TARGET_NAME)_libretro.so
|
||||
fpic = -fPIC
|
||||
|
Loading…
Reference in New Issue
Block a user