Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
Fmsx
Commits
fd17f366
Commit
fd17f366
authored
Nov 06, 2018
by
Ryan 'Swingflip' Hamlin
Browse files
Added A7A7
parent
a61ef7bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
fd17f366
...
...
@@ -143,6 +143,37 @@ else ifeq ($(platform), psl1ght)
AR
=
$(PS3DEV)
/ppu/bin/ppu-ar
$(EXE_EXT)
PLATFORM_DEFINES
:=
-D__CELLOS_LV2__
-DMSB_FIRST
STATIC_LINKING
=
1
# Classic Platforms ####################
# Platform affix = classic_<ISA>_<µARCH>
# Help at https://modmyclassic.com/comp
# (armv7 a7, hard point, neon based) ###
# NESC, SNESC, C64 mini
else
ifeq
($(platform), classic_armv7_a7)
TARGET
:=
$(TARGET_NAME)
_libretro.so
fpic
:=
-fPIC
SHARED
:=
-shared
-Wl
,-version-script
=
link.T
-Wl
,-no-undefined
PLATFORM_DEFINES
+=
-Ofast
\
-flto
=
4
-fwhole-program
-fuse-linker-plugin
\
-fdata-sections
-ffunction-sections
-Wl
,--gc-sections
\
-fno-stack-protector
-fno-ident
-fomit-frame-pointer
\
-falign-functions
=
1
-falign-jumps
=
1
-falign-loops
=
1
\
-fno-unwind-tables
-fno-asynchronous-unwind-tables
-fno-unroll-loops
\
-fmerge-all-constants
-fno-math-errno
\
-marm
-mtune
=
cortex-a7
-mfpu
=
neon-vfpv4
-mfloat-abi
=
hard
HAVE_NEON
=
1
ARCH
=
arm
ifeq
($(shell echo `$(CC) -dumpversion` "< 4.9" | bc -l), 1)
CFLAGS
+=
-march
=
armv7-a
else
CFLAGS
+=
-march
=
armv7ve
# If gcc is 5.0 or later
ifeq
($(shell echo `$(CC) -dumpversion` ">= 5" | bc -l), 1)
LDFLAGS
+=
-static-libgcc
-static-libstdc
++
endif
endif
#######################################
# PSP 1
else
ifeq
($(platform), psp1)
...
...
@@ -401,11 +432,13 @@ else
all
:
$(TARGET)
$(TARGET)
:
$(OBJECTS)
@
echo
"** BUILDING
$(TARGET)
FOR PLATFORM
$(platform)
**"
ifeq
($(STATIC_LINKING), 1)
$(AR)
rcs
$@
$(OBJECTS)
else
$(LD)
$(LINKOUT)$@
$(SHARED)
$(OBJECTS)
$(LDFLAGS)
endif
@
echo
"** BUILD SUCCESSFUL! GG NO RE **"
clean-objects
:
rm
-f
$(OBJECTS)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment