Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
VLC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Steve Lhomme
VLC
Commits
1c516435
Commit
1c516435
authored
Jul 24, 2012
by
Edward Wang
Committed by
Rafaël Carré
Jul 25, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: Support other Android architectures than ARM
Signed-off-by:
Rafaël Carré
<
funman@videolan.org
>
parent
2b1c1392
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
contrib/bootstrap
contrib/bootstrap
+15
-2
contrib/src/main.mak
contrib/src/main.mak
+2
-2
No files found.
contrib/bootstrap
View file @
1c516435
...
...
@@ -216,10 +216,23 @@ case "${OS}" in
*
bsd
*
)
add_make_enabled
"HAVE_BSD"
;;
linux-androideabi
)
*
android
*
)
check_android_sdk
add_make_enabled
"HAVE_LINUX"
"HAVE_ANDROID"
add_make
"PATH =
${
ANDROID_NDK
}
/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/:
${
PATH
}
"
case
"
${
HOST
}
"
in
*
arm
*
)
add_make
"PATH =
${
ANDROID_NDK
}
/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/:
${
PATH
}
"
add_make
"PLATFORM_SHORT_ARCH := arm"
;;
*
i686
*
)
add_make
"PATH =
${
ANDROID_NDK
}
/toolchains/x86-4.4.3/prebuilt/linux-x86/bin/:
${
PATH
}
"
add_make
"PLATFORM_SHORT_ARCH := x86"
;;
*
mipsel
*
)
add_make
"PATH =
${
ANDROID_NDK
}
/toolchains/mipsel-linux-android-4.4.3/prebuilt/linux-x86/bin/:
${
PATH
}
"
add_make
"PLATFORM_SHORT_ARCH := mips"
;;
esac
;;
*
linux
*
)
add_make_enabled
"HAVE_LINUX"
...
...
contrib/src/main.mak
View file @
1c516435
...
...
@@ -100,8 +100,8 @@ endif
endif
ifdef
HAVE_ANDROID
CC
:=
$(HOST)
-gcc
--sysroot
=
$(ANDROID_NDK)
/platforms/android-9/arch-
arm
CXX
:=
$(HOST)
-g
++
--sysroot
=
$(ANDROID_NDK)
/platforms/android-9/arch-
arm
CC
:=
$(HOST)
-gcc
--sysroot
=
$(ANDROID_NDK)
/platforms/android-9/arch-
$(PLATFORM_SHORT_ARCH)
CXX
:=
$(HOST)
-g
++
--sysroot
=
$(ANDROID_NDK)
/platforms/android-9/arch-
$(PLATFORM_SHORT_ARCH)
EXTRA_CFLAGS
+=
-I
$(ANDROID_NDK)
/sources/cxx-stl/gnu-libstdc++/include
EXTRA_CFLAGS
+=
-I
$(ANDROID_NDK)
/sources/cxx-stl/gnu-libstdc++/libs/
$(ANDROID_ABI)
/include
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment