Hi,
It seems that steps should be like below:
On ubuntu 18.04
(1) Getting ft60x driver source code
# cd ~/
# mkdir device-driver
# git clone https://github.com/lambdaconcept/ft60x_driver.git
(2) Exporting cross-compile tool chain from Yocto
According to chapter 4.5.12 of i.MX_Linux_Users_Guide.pdf, export cross-compile tool chain.
Then install it to path /opt
Below is what I export: fsl-imx-xwayland-glibc-x86_64-imx-image-full-aarch64-imx8mmevk-toolchain-5.4-zeus.sh
copy the file to /opt, then run :
# cd /opt
# ./fsl-imx-xwayland-glibc-x86_64-imx-image-full-aarch64-imx8mmevk-toolchain-5.4-zeus.sh
Then below is the path of toolchain: /opt/fsl-imx-xwayland/5.4-zeus/
(3) Download linux source code
# cd ~/
# mkdir linux-source
# cd linux-source
# git clone https://source.codeaurora.org/external/imx/linux-imx -b imx_5.4.47_2.2.0
(4) Compiling kernel
# cd linux-imx
# source /opt/fsl-imx-xwayland/5.4-zeus/environment-setup-aarch64-poky-linux
# export ARCH=arm64
# make imx_v8_defconfig
# make
(5) Compiling ft60x driver
--Modifying Makefile
# cd ~/device-driver/ft60x_driver
# gedit Makefile
---------------------------------
#KERNEL_VERSION:=$(shell uname -r)
#KERNEL_PATH:=/lib/modules/$(KERNEL_VERSION)/build
KERNEL_PATH:= /home/weidong/linux-source-code/L5.4.47_2.2.0/linux-imx
obj-m = ft60x.o
sdr-objs = ft60x.o
all: ft60x.ko
ft60x.ko: ft60x.c
make -C $(KERNEL_PATH) M=$(PWD) modules
clean:
make -C $(KERNEL_PATH) M=$(PWD) clean
rm -f *~
---------------------------------
Save and exit.
# make
Then we will get ft60x driver
------------

Then use "insmod" command to load the driver on your board.
Try it, please!
After loading the driver, it should be like this:

Hope the information is helpful to you.
Have a nice day!
B.R,
weidong