Commit based upon d6442850bde61f0c3e7e2ae3247b4a856073c5e0
[librecmc/package-feed.git] / libs / dmx_usb_module / patches / 001-dmx_usb_Makefile.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -12,8 +12,7 @@ KDIR  := /lib/modules/$(shell uname -r)/build
4  PWD    := $(shell pwd)
5  
6  default:
7 -       $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
8 -       gcc -O2 -pipe -Wall dmx_usb_test.c -o dmx_usb_test
9 +       $(MAKE) -C $(KERNELPATH) SUBDIRS=$(PWD) modules
10  
11  endif
12  
13