Changes between Version 4 and Version 5 of JSCOnly/CrossBuildAndRemoteTestJSCLinux


Ignore:
Timestamp:
Feb 5, 2018 4:15:22 PM (4 years ago)
Author:
clopez@igalia.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JSCOnly/CrossBuildAndRemoteTestJSCLinux

    v4 v5  
    19192. pre-configure buildroot with your target board plus this config fragment:
    2020
    21   2.1. download webkit_jsc_buildroot_extraconfig and save it as /tmp/webkit_jsc_buildroot_extraconfig
    22 
    23   2.2. guess the name of your board defconfig (check the files in config/) and merge the default config for it with the attached one. For example, for configuring for using the RPi3 in ARM64 (Aarch64) mode we will do:
     21  2.1. download [[attachment:jsc_buildroot_extraconfig]] and save it to ```/tmp/```
     22
     23  2.2. guess the name of your board defconfig (check the files in ```$buildroot/config```) and merge the default config for it with the attached one. For example, for configuring for using the RPi3 in ARM64 (Aarch64) mode we will do:
    2424    {{{
    25 support/kconfig/merge_config.sh configs/raspberrypi3_64_defconfig /tmp/webkit_jsc_buildbot_extraconfig
     25support/kconfig/merge_config.sh configs/raspberrypi3_64_defconfig /tmp/jsc_buildroot_extraconfig
    2626    }}}
    2727
    2828
    29 3. run "make menuconfig" and review your systems details, pay special attention the following sections:
     293. run ```make menuconfig``` and review your systems details, pay special attention the following sections:
    3030
    3131   3.1 Target options: review that the selected options are ok:
     
    122122For identifying which libraries link to the jsc binary, [https://trac.webkit.org/browser/trunk/Tools/Scripts/run-javascriptcore-tests run-javascriptcore-tests] executes the script ldd, but this tool (ldd) won't work out of the box on a cross-build environment.
    123123
    124 To fix that we use the attached cross-ldd.
     124To fix that we use the attached [[attachment:cross-ldd]].
    125125So we need to put this script renamed to ldd on the binary path of the cross-toolchain (```${BR2_HOST_DIR}/bin```)
    126126
    127127{{{
    128 # Save attached cross-ldd as /tmp/cross-ldd
     128# Fist save attached cross-ldd into /tmp
    129129$ cp /tmp/cross-ldd ${BR2_HOST_DIR}/usr/bin/ldd
    130130# Important! make it executable: