Created
          March 20, 2013 12:33 
        
      - 
      
- 
        Save singulared/5204314 to your computer and use it in GitHub Desktop. 
    Chromium build for armhf
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | SYSROOT="/opt/qemu/chroot/armhf" | |
| CFLAGS=$CFLAGS" -I${SYSROOT}/usr/include -I${SYSROOT}/usr/include/arm-linux-gnueabihf" | |
| CXXFLAGS=$CXXFLAGS" -I${SYSROOT}/usr/include -I${SYSROOT}/usr/include/arm-linux-gnueabihf -L${SYSROOT}/usr/lib/arm-linux-gnueabihf" | |
| LDFLAGS=$LDFLAGS" -L${SYSROOT}/usr/lib/arm-linux-gnueabihf" | |
| export -n CFLAGS CXXFLAGS LDFLAGS | |
| GYP_DEFINES="\ | |
| sysroot=${SYSROOT} \ | |
| werror= \ | |
| linux_sandbox_path=/usr/lib/chromium/chromium-sandbox \ | |
| linux_strip_binary=1 \ | |
| linux_use_gold_binary=1 \ | |
| linux_use_gold_flags=1 \ | |
| release_extra_cflags=\"$CFLAGS -DUSE_EABI_HARDFLOAT\" \ | |
| release_ldflags=\"$LDFLAGS\" \ | |
| ffmpeg_branding=Chrome \ | |
| proprietary_codecs=1 \ | |
| use_system_bzip2=1 \ | |
| use_system_ffmpeg=0 \ | |
| use_system_libevent=1 \ | |
| use_system_libjpeg=1 \ | |
| use_system_libpng=1 \ | |
| use_system_libxml=0 \ | |
| use_system_ssl=0 \ | |
| use_system_yasm=1 \ | |
| use_system_zlib=1 \ | |
| use_gconf=0 \ | |
| disable_glibc=1 \ | |
| disable_sse2=1 \ | |
| target_arch=arm \ | |
| armv7=1 \ | |
| arm_neon=0 \ | |
| arm_fpu=vfpv3-d16 \ | |
| arm_thumb=1 \ | |
| armeabi=hardfp \ | |
| arm_float_abi=hard \ | |
| v8_use_arm_eabi_hardfloat=true \ | |
| linux_use_tcmalloc=0 \ | |
| disable_nacl=1" | |
| export GYP_DEFINES | |
| export CROSSTOOL=arm-unknown-linux-gnueabi | |
| export CXX=$CROSSTOOL-g++ | |
| export CC=$CROSSTOOL-gcc | |
| export AR=$CROSSTOOL-ar | |
| export AS=$CROSSTOOL-as | |
| #export LINK=$CROSSTOOL-ld | |
| export RANLIB=$CROSSTOOL-ranlib | |
| build/gyp_chromium --depth=. | |
| make V=99 -j2 chrome chrome_sandbox BUILDTYPE=Release | |
| #make V=99 -j2 v8 BUILDTYPE=Release | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment