foxygit / fake-08-xbox360 Log in
commit 28f4ffd070d7dfaae7c0018b61fbdadba2e2892b
Author:     Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Sun Jan 30 21:23:26 2022 -0700
Commit:     Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Sun Jan 30 21:23:26 2022 -0700

    Update Miyoo Mini makefile

    add commented out variables for other compiler
    remove second optimize flag
---
 platform/miyoomini/Makefile | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/platform/miyoomini/Makefile b/platform/miyoomini/Makefile
index b806064..7cbac3a 100644
--- a/platform/miyoomini/Makefile
+++ b/platform/miyoomini/Makefile
@@ -12,16 +12,23 @@ SOURCES		:=	${SOURCES} source
 INCLUDES	:=	${INCLUDES} source

 #---------------------------------------------------------------------------------
-# options for code generation
+# union toolchain (has these in PATH)
 #---------------------------------------------------------------------------------

 CC = arm-linux-gnueabihf-gcc
 CXX = arm-linux-gnueabihf-g++
 STRIP = arm-linux-gnueabihf-strip

+#---------------------------------------------------------------------------------
+# other toolchain. possible TODO: detect/parameterize
+#---------------------------------------------------------------------------------
+#CC = /opt/miyoomini/bin/arm-linux-gnueabihf-gcc
+#CXX = /opt/miyoomini/bin/arm-linux-gnueabihf-g++
+#STRIP = /opt/miyoomini/bin/arm-linux-gnueabihf-strip
+
 CC = $(CXX)

-CFLAGS	:=	-Wall -Ofast -ffunction-sections -Iinc -D_BITTBOY -DVER_STR=\"$(APP_VERSION)\" -marm -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -O3 -march=armv7ve \
+CFLAGS	:=	-Wall -Ofast -ffunction-sections -Iinc -D_BITTBOY -DVER_STR=\"$(APP_VERSION)\" -marm -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -march=armv7ve \
 			$(DEFINES)

 CFLAGS	+=	$(INCLUDE)