WIP: Odroid fix (#223)
* Adds binaries and rom.key to gitignore * Adds HAVE_NEON to Makefile for xu4 * Makes project compilable again * Adds -DMALI_GPU and makes it startable on xu4 again
This commit is contained in:
parent
730fefbf8f
commit
d1c3f3ff16
3 changed files with 10 additions and 6 deletions
10
Makefile
10
Makefile
|
@ -46,13 +46,14 @@ else ifeq ($(PLATFORM),rpi1)
|
|||
|
||||
else ifeq ($(PLATFORM),xu4)
|
||||
CPU_FLAGS += -march=armv7ve -mcpu=cortex-a15.cortex-a7 -mtune=cortex-a15.cortex-a7 -mfpu=neon-vfpv4
|
||||
CFLAGS += -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL1
|
||||
CFLAGS += -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL1 -DMALI_GPU
|
||||
HAVE_NEON = 1
|
||||
NAME = amiberry-xu4-sdl1-dev
|
||||
ifdef DEBUG
|
||||
# Otherwise we'll get compilation errors, check https://tls.mbed.org/kb/development/arm-thumb-error-r7-cannot-be-used-in-asm-here
|
||||
# quote: The assembly code in bn_mul.h is optimized for the ARM platform and uses some registers, including r7 to efficiently do an operation. GCC also uses r7 as the frame pointer under ARM Thumb assembly.
|
||||
MORE_CFLAGS += -fomit-frame-pointer
|
||||
endif
|
||||
NAME = amiberry-xu4-sdl1-dev
|
||||
|
||||
else ifeq ($(PLATFORM),android)
|
||||
CPU_FLAGS += -mfpu=neon -mfloat-abi=soft
|
||||
|
@ -128,13 +129,14 @@ USE_SDL2 = 1
|
|||
else ifeq ($(PLATFORM),xu4-sdl2)
|
||||
USE_SDL2 = 1
|
||||
CPU_FLAGS += -march=armv7ve -mcpu=cortex-a15.cortex-a7 -mtune=cortex-a15.cortex-a7 -mfpu=neon-vfpv4
|
||||
CFLAGS += -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL2
|
||||
CFLAGS += -DARMV6T2 -DUSE_ARMNEON -DUSE_SDL2 -DMALI_GPU
|
||||
HAVE_NEON = 1
|
||||
NAME = amiberry-xu4-sdl2-dev
|
||||
ifdef DEBUG
|
||||
# Otherwise we'll get compilation errors, check https://tls.mbed.org/kb/development/arm-thumb-error-r7-cannot-be-used-in-asm-here
|
||||
# quote: The assembly code in bn_mul.h is optimized for the ARM platform and uses some registers, including r7 to efficiently do an operation. GCC also uses r7 as the frame pointer under ARM Thumb assembly.
|
||||
MORE_CFLAGS += -fomit-frame-pointer
|
||||
endif
|
||||
NAME = amiberry-xu4-sdl2-dev
|
||||
|
||||
else ifeq ($(PLATFORM),tinker)
|
||||
USE_SDL2 = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue