ikwzm / udmabuf

User space mappable dma buffer device driver for Linux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"*** No rule to make target'prepare0', needed by'vdso_prepare'. Stop." when building for linux-xlnx(v2019.1)

ikwzm opened this issue · comments

shell$ export ARCH=arm64
shell$ export KERNEL_SRC_DIR=/home/work/ZynqMP-FPGA-Linux/linux-xlnx-v2019.2-zynqmp-fpga
shell$ make -C /home/work/ZynqMP-FPGA-Linux/linux-xlnx-v2019.2-zynqmp-fpga ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- M=/home/work/udmabuf obj-m=u-dma-buf.o u-dma-buf.ko
make[1]: Entering directory '/home/work/ZynqMP-FPGA-Linux/linux-xlnx-v2019.2-zynqmp-fpga'
make[1]: *** No rule to make target 'prepare0', needed by 'vdso_prepare'.  Stop.
make[1]: Leaving directory '/home/work/ZynqMP-FPGA-Linux/linux-xlnx-v2019.2-zynqmp-fpga'
Makefile:20: recipe for target 'all' failed
make: *** [all] Error 2