diff options
author | Tero Rintaluoma <tero.rintaluoma@on2.com> | 2011-01-24 11:21:40 +0200 |
---|---|---|
committer | Tero Rintaluoma <teror@google.com> | 2011-01-28 12:47:39 +0200 |
commit | 11a222f5d963097fb72cec7bf6e06ff8c3d96fa4 (patch) | |
tree | 843f95cb4c63adda923fd7e35b61dd62a2fc7b45 /build/make | |
parent | d3e9409bb07e6411ff867935883bd5d56d2f9041 (diff) | |
download | libvpx-11a222f5d963097fb72cec7bf6e06ff8c3d96fa4.tar.gz |
Adds "armvX-none-rvct" targets
Adds following targets to configure script to support RVCT compilation
without operating system support (for Profiler or bare metal images).
- armv5te-none-rvct
- armv6-none-rvct
- armv7-none-rvct
To strip OS specific parts from the code "os_support"-config was added
to script and CONFIG_OS_SUPPORT flag is used in the code to exclude OS
specific parts such as OS specific includes and function calls for
timers and threads etc. This was done to enable RVCT compilation for
profiling purposes or running the image on bare metal target with
Lauterbach.
Removed separate AREA directives for READONLY data in armv6 and neon
assembly files to fix the RVCT compilation. Otherwise
"ldr <reg>, =label" syntax would have been needed to prevent linker
errors. This syntax is not supported by older gnu assemblers.
Change-Id: I14f4c68529e8c27397502fbc3010a54e505ddb43
Diffstat (limited to 'build/make')
-rwxr-xr-x | build/make/configure.sh | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh index 75279b9b9..8c4d2cf79 100755 --- a/build/make/configure.sh +++ b/build/make/configure.sh @@ -664,7 +664,7 @@ process_common_toolchain() { elif enabled armv7 then check_add_cflags -march=armv7-a -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-ftree-vectorize - check_add_asflags -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-march=armv7-a + check_add_asflags -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp #-march=armv7-a else check_add_cflags -march=${tgt_isa} check_add_asflags -march=${tgt_isa} @@ -695,10 +695,17 @@ process_common_toolchain() { arch_int=${arch_int%%te} check_add_asflags --pd "\"ARCHITECTURE SETA ${arch_int}\"" enabled debug && add_asflags -g + add_cflags --gnu + add_cflags --enum_is_int + add_cflags --wchar32 ;; esac case ${tgt_os} in + none*) + disable multithread + disable os_support + ;; darwin*) SDK_PATH=/Developer/Platforms/iPhoneOS.platform/Developer TOOLCHAIN_PATH=${SDK_PATH}/usr/bin @@ -747,13 +754,9 @@ process_common_toolchain() { || die "Must supply --libc when targetting *-linux-rvct" # Set up compiler - add_cflags --gnu - add_cflags --enum_is_int add_cflags --library_interface=aeabi_glibc add_cflags --no_hide_all - add_cflags --wchar32 add_cflags --dwarf2 - add_cflags --gnu # Set up linker add_ldflags --sysv --no_startup --no_ref_cpp_init |