Fixed
Created: Dec 24, 2014
Updated: Sep 8, 2018
Resolved Date: Jan 6, 2015
Found In Version: 7.0
Fix Version: 7.0.0.2
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Documentation
Wind River Linux User’s Guide 7.0 – Page 232 – Step 6. Step1 – Step 4 look ok, but not Step 5 and 6.
Step 5 Source the SDK.
....
$ ./opt/windriver/wrlinux/7.0-qemux86-64/env.sh
If you installed the SDK to a directory other than the default, substitute the path to the env.sh
script.
Step 6 Rebuild the file system.
Run the following command from the projectDir:
$ make
Problem:
1. Step 5 gives error. There should be space between '.' and rest of the line. Then only it will source the env.sh. To avoid confusion, following command will also work.
"source <path>/env.sh"
2. Step 6 We do not need to run "make" from "projectDir" after SDK installed and SDK environment is setup. At this point, we do not care about Platform project Dir, as we are developing User Space Applications using sdk.
3. Actually, this command can be run from sdkDir. Then it will extract and make the filesystem (embedded in the SDK) available in sdkDir/export/dist for running and debugging in many cases. It can also be used to repackage application into root file system and generate new root file system using "make fs-image" after copying app binaries in <sdkDir>/export/dist.
Step 6 can be modified with this information, rather than removing it.
<InstallDir>/wrlinux-7/wrlinux/configure --enable-board=intel-x86-64 --enable-rootfs=glibc_std --enable-bootimage=iso --enable-jobs=4 --enable-parallel-pkgbuilds=4 --enable-kernel=standard --with-sstate-dir=/Builds/SSTATE_CACHE/7.0 --enable-reconfig=yes --enable-rm-oldimgs=yes --with-template=feature/kvm --with-rcpl-version=0
Follow steps on page 232 in User's Guide.