Commit 3c6c622c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: assume TI OMAP3 core when on Maemo/armel

This tries to preserve maemo-x86 compatibilty, if anyone cares.
However, this probably breaks N8x0 support if it ever worked(?).
parent 7a33ca70
......@@ -235,6 +235,15 @@ case $HOST in
cat src/Distributions/unix.mak >> distro.mak
fi
;;
arm-none-linux-gnueabi)
if test -f /etc/maemo_version; then
cat src/Distributions/maemo.mak >> distro.mak
echo 'HAVE_MAEMO = 1' >> config.mak
EXTRA_CFLAGS=" -mcpu=cortex-a8 -mtune=cortex-a8 -march=armv7-a"
EXTRA_CLFAGS="$EXTRA_CFLAGS -mfpu=vfp"
EXTRA_CFLAGS="$EXTRA_CFLAGS -mthumb -mthumb-interwork"
fi
;;
*86_64*linux*)
EXTRA_CFLAGS=" -fPIC"
EXTRA_CPPFLAGS=" -fPIC"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment