Wind River Support Network

HomeDefectsLIN8-11804
Fixed

LIN8-11804 : Modify LIN8 doc

Created: Nov 20, 2019    Updated: May 7, 2020
Resolved Date: May 7, 2020
Found In Version: 8.0.0.30
Fix Version: 8.0.0.33
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Documentation

Description

Toolchain ld don't recognize LDFLAGS when build your own modules out of kernel tree by sdk.

That's because LDFLAGS is set in environment variable(sdkDir/env.sh) for userspace, but shouldn't be set for kernel. kernel's each arch should set their own LDFLAGS if necessary.

So our doc should be correct.

[https://docs.windriver.com/bundle/Wind_River_Linux_Kernel_Command_Line_Tutorials_8.0_1/page/sve1458841137405.html]

Procedure 3 step should be modified:

From:

$ export KERNEL_SRC=sdkDir/sysroots/core2-64-wrs-linux/usr/src/kernel

$ make

To:

$ export KERNEL_SRC=sdkDir/sysroots/core2-64-wrs-linux/usr/src/kernel

$ make LDFLAGS=

Refer to LINUXEXEC-3791 for more information.
Live chat
Online