Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build on mips using android ndk r8 #16

Merged
merged 1 commit into from
Sep 20, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sys/android-shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ if [ ! -d "${NDK}" ]; then
exit 1
fi

NDKPATH_MIPS=`echo ${NDK}/toolchains/mips-*/prebuilt/${OS}-x86/bin/`
NDKPATH_MIPS=`echo ${NDK}/toolchains/mipsel-*/prebuilt/${OS}-x86/bin/`
NDKPATH_ARM=`echo ${NDK}/toolchains/arm-*/prebuilt/${OS}-x86/bin/`
NDKPATH_X86=`echo ${NDK}/toolchains/x86-*/prebuilt/${OS}-x86/bin/`

# r7b
NDKPATH_ARM=`echo ${NDK}/toolchains/arm-*/prebuilt/$(uname|tr A-Z a-z)-x86/bin/`
#INCDIR=${NDK}/platforms/android-8/arch-arm/usr/include/
#CFLAGS=-I${INCDIR}
echo $NDKPATH_ARM
#echo $NDKPATH_ARM

PATH=$SDK/tools:$SDK/platform-tools:$NDK:${NDKPATH_X86}:${NDKPATH_ARM}:${NDKPATH_MIPS}:$PATH
export PATH
Expand Down
2 changes: 1 addition & 1 deletion sys/ndk-gcc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ arm)
;;
mips)
ANDROID_SDK_VERSION=9 #mips
NDKPFX=mips-linux-android
NDKPFX=mipsel-linux-android
;;
x86)
ANDROID_SDK_VERSION=9 #x86
Expand Down