Hello,I'm trying to add an external kernel module to my layer by following this guide in the Yocto Kernel Development Manual and using the recommended template:
2.10.2. Incorporating Out-of-Tree Modules<https://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html#incorporating-out-of-tree-modules> poky/meta-skeleton/recipes-kernel/hello-mod/hello-mod_0.1.bbHowever, bitbake always reports that my "Runtime target 'lightwing-camera' is unbuildable, removing..."
I would appreciate if someone could help me isolate this problem. This is my new recipe for the module: SUMMARY = "External kernel module for OV5645 MIPI camera" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" inherit module SRC_URI = "file://Makefile \ file://ov5645_mipi.c \ file://COPYING \ " S = "${WORKDIR}" RPROVIDES_lightwing-camera = "lightwing-camera" And this is my makefile: obj-m := ov5645_mipi.o SRC := $(shell pwd) all: $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install: $(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules_install clean: rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c rm -f Module.markers Module.symvers modules.order rm -rf .tmp_versions Modules.symvers Thank you, Clay Montgomery
<<attachment: clay.vcf>>
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto