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
flycast
Commits
fa3d2f52
Commit
fa3d2f52
authored
Sep 10, 2017
by
gizmo98
Browse files
Makefile: ad rpi3 and mesa target
parent
1d95fe63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
fa3d2f52
...
...
@@ -126,12 +126,17 @@ else ifneq (,$(findstring rpi,$(platform)))
GLES
=
1
LIBS
+=
-lrt
GL_LIB
:=
-L
/opt/vc/lib
-lGLESv2
INCFLAGS
+=
-I
/opt/vc/include
ifeq
(,$(findstring mesa,$(platform)))
GL_LIB
:=
-L
/opt/vc/lib
INCFLAGS
+=
-I
/opt/vc/include
endif
ifneq
(,$(findstring rpi2,$(platform)))
CFLAGS
=
-mcpu
=
cortex-a7
-mfloat-abi
=
hard
CXXFLAGS
=
-mcpu
=
cortex-a7
-mfloat-abi
=
hard
CFLAGS
+=
-mcpu
=
cortex-a7
-mfpu
=
neon-vfpv4
-mfloat-abi
=
hard
CXXFLAGS
+=
-mcpu
=
cortex-a7
-mfpu
=
neon-vfpv4
-mfloat-abi
=
hard
else
ifneq
(,$(findstring rpi3,$(platform)))
CFLAGS
+=
-march
=
armv8-a+crc
-mtune
=
cortex-a53
-mfpu
=
neon-fp-armv8
-mfloat-abi
=
hard
CXXFLAGS
+=
-march
=
armv8-a+crc
-mtune
=
cortex-a53
-mfpu
=
neon-fp-armv8
-mfloat-abi
=
hard
endif
PLATFORM_EXT
:=
unix
...
...
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