X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/93ffeaf647765f11d397a540d6c1b5a4a1b1e35f..c8737aef24173486eea70bb50df02a2ed2ad0b52:/openwrt/target/linux/package/spca5xx/patches/01-kmod-build.patch?ds=sidebyside diff --git a/openwrt/target/linux/package/spca5xx/patches/01-kmod-build.patch b/openwrt/target/linux/package/spca5xx/patches/01-kmod-build.patch index f69caf8b9..eb7dccd32 100644 --- a/openwrt/target/linux/package/spca5xx/patches/01-kmod-build.patch +++ b/openwrt/target/linux/package/spca5xx/patches/01-kmod-build.patch @@ -26,7 +26,7 @@ diff -ruN spca5xx-20051105-old/Makefile spca5xx-20051105-new/Makefile -# This makefile will build the spca50x driver module external to the kernel -# source tree. It makes it easier to swap kernels. - -+CFLAGS += $(DEFINES) ++EXTRA_CFLAGS += $(DEFINES) -KERNEL_VERSION = `uname -r` +spca5xx-objs := drivers/usb/spca5xx.o drivers/usb/spcadecoder.o