标签:linu cto arm64 media 14. oss pre arm modules
1. 借助Yocto编译模块
SRC := mytest obj-m := $(SRC).o KDIR := /media/Yocto/build/tmp/work/poky-linux/linux-renesas/4.14.35-r1/build all: #make -C $(KDIR) M=$(PWD) modules ARCH=arm64 make -C $(KDIR) M=$(PWD) modules CROSS_COMPILE=aarch64-poky-linux- ARCH=arm64 clean: rm -f *.o *.order *.mod.c *.symvers *~ *.ko
标签:linu cto arm64 media 14. oss pre arm modules
原文地址:https://www.cnblogs.com/hellokitty2/p/9535291.html