notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15eed40
)
fix building for arm arch below armv6 (gp2x, bittboy)
author
kub
<derkub@gmail.com>
Tue, 29 Dec 2020 11:10:10 +0000
(12:10 +0100)
committer
kub
<derkub@gmail.com>
Tue, 29 Dec 2020 11:10:10 +0000
(12:10 +0100)
Makefile
patch
|
blob
|
blame
|
history
configure
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
34f4824
..
b38b301
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-161,7
+161,6
@@
OBJS += platform/gp2x/warm.o
USE_FRONTEND = 1
PLATFORM_MP3 = 1
PLATFORM_ZLIB = 1
-HAVE_ARMv6 = 0
endif
ifeq "$(PLATFORM)" "libretro"
OBJS += platform/libretro/libretro.o
diff --git
a/configure
b/configure
index
5bb6fcb
..
a03ae88
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-430,6
+430,10
@@
fi
if [ "$need_zlib" = "yes" ]; then
echo "PLATFORM_ZLIB = 1" >> $config_mak
fi
+if [ "$ARCH" = "arm" -a "$have_armv6" != "yes" -a "$have_armv7" != "yes" ]; then
+ # pass info to cyclone not to use newer arm arch instructions
+ echo "HAVE_ARMv6 = 0" >> $config_mak
+fi
# GP2X toolchains are too old for UAL asm,
# so add this here to not litter main Makefile