ifeq ("$(filter arm%b,$(HOST_CPU))","")
CPU := ARM
ARCH_DETECTED := 32BITS
- CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8 -fsigned-char -ffast-math
+ #CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8
+ CFLAGS += -mcpu=native -mtune=native -marm -mfpu=neon
+ CFLAGS += -fsigned-char -ffast-math
# CFLAGS += -DANDROID
# CFLAGS += -DPAULSCODE
$(warning Architecture "$(HOST_CPU)" not officially supported.')
PIC ?= 1
NO_ASM := 1
-CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8 -fsigned-char -DNO_ASM -DPAULSCODE -Ofast -ffast-math -fno-strict-aliasing
+#CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8
+CFLAGS += -fsigned-char -DNO_ASM -DPAULSCODE -Ofast -ffast-math -fno-strict-aliasing
+CFLAGS += -mcpu=native -mtune=native -marm -mfpu=neon
CFLAGS += -I ../mupen64plus-core/src/api/
CFLAGS += `sdl-config --cflags`
ARCH_DETECTED := 32BITS
PIC ?= 1
NO_ASM := 1
- CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8 -fsigned-char -ffast-math
+ #CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8 -fsigned-char -ffast-math
+ CFLAGS += -fsigned-char -ffast-math
+ CFLAGS += -mcpu=native -mtune=native -marm -mfpu=neon
CFLAGS += -DANDROID
CFLAGS += -DPAULSCODE
- $(warning Architecture "$(HOST_CPU)" not officially supported.')
+ # $(warning Architecture "$(HOST_CPU)" not officially supported.')
endif
endif
ifeq ("$(CPU)","NONE")
#elif SDL_VIDEO_OPENGL_ES2
-#include <SDL_opengles2.h>
+//#include <SDL_opengles2.h>
+#include <GLES2/gl2.h>
+#include <GLES2/gl2ext.h>
+
#define GLSL_VERSION "100"
// Extension names
PIC ?= 1
OSD ?= 0
NEW_DYNAREC := 1
- CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8 -fsigned-char -ffast-math -Wno-maybe-uninitialized -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-comment
- $(warning Architecture "$(HOST_CPU)" not officially supported.')
+ #CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8
+ CFLAGS += -mcpu=native -mtune=native -marm -mfpu=neon
+ CFLAGS += -fsigned-char -ffast-math -Wno-maybe-uninitialized -Wno-unused-function -Wno-unused-variable -Wno-unused-but-set-variable -Wno-comment
+ # $(warning Architecture "$(HOST_CPU)" not officially supported.')
endif
endif
ifeq ("$(CPU)","NONE")
#include <ctype.h>
#ifdef PANDORA
-#include <SDL_opengles2.h>
+//#include <SDL_opengles2.h>
+#include <GLES2/gl2.h>
+#include <GLES2/gl2ext.h>
+
#else
#include <SDL_opengl.h>
#endif
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
- .cpu arm9tdmi
- .fpu softvfp
- .eabi_attribute 20, 1
- .eabi_attribute 21, 1
- .eabi_attribute 23, 3
- .eabi_attribute 24, 1
- .eabi_attribute 25, 1
- .eabi_attribute 26, 2
- .eabi_attribute 30, 6
- .eabi_attribute 18, 4
+@ .cpu arm9tdmi
+@ .fpu softvfp
+@ .eabi_attribute 20, 1
+@ .eabi_attribute 21, 1
+@ .eabi_attribute 23, 3
+@ .eabi_attribute 24, 1
+@ .eabi_attribute 25, 1
+@ .eabi_attribute 26, 2
+@ .eabi_attribute 30, 6
+@ .eabi_attribute 18, 4
.file "linkage_arm.S"
.global extra_memory
.hidden extra_memory
CPU := ARM
ARCH_DETECTED := 32BITS
PIC ?= 1
- CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8 -fsigned-char -ftree-vectorize
+ #CFLAGS += -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mtune=cortex-a8 -fsigned-char -ftree-vectorize
+ CFLAGS += -fsigned-char
+ CFLAGS += -mcpu=native -mtune=native -marm -mfpu=neon
$(warning Architecture "$(HOST_CPU)" not officially supported.')
endif
endif