系統 - VxWorks - Build DKM



參考資訊:
https://forums.windriver.com/t/vxworks-software-development-kit-sdk/43
https://d13321s3lxgewa.cloudfront.net/downloads/wrsdk-vxworks7-docs/2309/README_qemu.html

步驟:

$ source wrsdk-vxworks7-qemu/sdkenv.sh
$ cd ~/wrsdk-vxworks7-qemu/examples/dkm/hello_cmake_dkm
$ mkdir build
$ cd build
$ cmake -D CMAKE_TOOLCHAIN_FILE=~/wrsdk-vxworks7-qemu/vxsdk/sysroot/mk/dkm.toolchain.cmake ..
$ make

執行方式:

-> cmd
[vxWorks *]# ld < hello_cmake