WebM/Updating libvpx: Difference between revisions

Add instructions for updating the ARM configuration.
No edit summary
(Add instructions for updating the ARM configuration.)
 
Line 52: Line 52:
</code>
</code>
'''Ignore the warning''' about devenv.com not found in path when building on Win32. You don't need the build to succeed, you just need the first few steps of the build process to generate the vpx_config* files.
'''Ignore the warning''' about devenv.com not found in path when building on Win32. You don't need the build to succeed, you just need the first few steps of the build process to generate the vpx_config* files.
On the ''Linux'' machine again, you need either a working Scratchbox environment or an Android NDK installed. These instructions are for the Scratchbox environment. You can find details on setting one up, along with all the pre-requisites to build Fennec for Maemo at [[Mobile/Build/cs2007q3/Fremantle]].  Make the libvpx checkout you did above available in the scratchbox environment (e.g., move it under ~/scratchbox/), and from that inside the checkout in Scratchbox execute:
<code>
$ cd objdir
$ mkdir armv7-linux-gcc
$ cd armv7-linux-gcc
$ CROSS=arm-linux-gnueabi- ../../configure --target=armv7-linux-gcc --disable-vp8-encoder --disable-examples --disable-install-docs --enable-pic --enable-runtime-cpu-detect --enable-arm-asm-detok
</code>
You don't need to run make, because you don't need vpx_config.asm for the ARM targets.


Once you've configured and built the targets specified above on their respective platforms, copy the objdirs of those targets onto the machine on which you want to prepare the update. For example, if you were going to prepare the update '''from the Linux machine''', you'd do something like:
Once you've configured and built the targets specified above on their respective platforms, copy the objdirs of those targets onto the machine on which you want to prepare the update. For example, if you were going to prepare the update '''from the Linux machine''', you'd do something like:
Line 63: Line 72:
<code>
<code>
  $ ls -1 objdir/
  $ ls -1 objdir/
armv7-linux-gcc
  generic-gnu
  generic-gnu
  x86_64-darwin9-gcc
  x86_64-darwin9-gcc
Confirmed users
20

edits