petalinux工程编译后,没有找到内核源码树位置,在/build/tmp/sysroots下没有文件呢
13419195141 opened this issue · comments
杨凯 commented
petalinux工程编译后,没有找到内核源码树位置,在/build/tmp/sysroots下没有文件呢
Victor LI commented
- Checkout whether your module is enabled in the petalinux rootfs config menu
- Make sure that you've properly modified the Makefile of the module
If everything goes well, the output file will locate at ./build/tmp/sysroots-components/plnx_zynq7/axidma/lib/modules/4.19.0-xilinx-v2019.2/extra/axidma.ko
after compilation. Here I'm using petalinux 2019.2, the path may differ as you may have a different version of petalinux.