Changes between Version 4 and Version 5 of JSCOnly/CrossBuildAndRemoteTestJSCLinux
- Timestamp:
- Feb 5, 2018, 4:15:22 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JSCOnly/CrossBuildAndRemoteTestJSCLinux
v4 v5 19 19 2. pre-configure buildroot with your target board plus this config fragment: 20 20 21 2.1. download webkit_jsc_buildroot_extraconfig and save it as /tmp/webkit_jsc_buildroot_extraconfig22 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: 24 24 {{{ 25 support/kconfig/merge_config.sh configs/raspberrypi3_64_defconfig /tmp/ webkit_jsc_buildbot_extraconfig25 support/kconfig/merge_config.sh configs/raspberrypi3_64_defconfig /tmp/jsc_buildroot_extraconfig 26 26 }}} 27 27 28 28 29 3. run "make menuconfig"and review your systems details, pay special attention the following sections:29 3. run ```make menuconfig``` and review your systems details, pay special attention the following sections: 30 30 31 31 3.1 Target options: review that the selected options are ok: … … 122 122 For 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. 123 123 124 To fix that we use the attached cross-ldd.124 To fix that we use the attached [[attachment:cross-ldd]]. 125 125 So we need to put this script renamed to ldd on the binary path of the cross-toolchain (```${BR2_HOST_DIR}/bin```) 126 126 127 127 {{{ 128 # Save attached cross-ldd as /tmp/cross-ldd128 # Fist save attached cross-ldd into /tmp 129 129 $ cp /tmp/cross-ldd ${BR2_HOST_DIR}/usr/bin/ldd 130 130 # Important! make it executable: