001-dmx_usb_Makefile.patch 285 B

12345678910111213
  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -12,8 +12,7 @@ KDIR := /lib/modules/$(shell uname -r)/build
  4. PWD := $(shell pwd)
  5. default:
  6. - $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
  7. - gcc -O2 -pipe -Wall dmx_usb_test.c -o dmx_usb_test
  8. + $(MAKE) -C $(KERNELPATH) SUBDIRS=$(PWD) modules
  9. endif