Skip to content

Commit

Permalink
Makefile: make debian happy
Browse files Browse the repository at this point in the history
I have no idea why, but the make command from debian does not expand
PWD at the launch, but at the time it is called.
This way, the LINUXINCLUDE var does not contains our own include path,
but the one from the kernel sources...
  • Loading branch information
bentiss committed Dec 23, 2013
1 parent 36d1466 commit c7d75f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
@@ -1,6 +1,6 @@
MODULE_NAME := hid_mt_compat

LINUXINCLUDE := -I$(PWD)/include $(LINUXINCLUDE)
LINUXINCLUDE := -I$(SUBDIRS)/include $(LINUXINCLUDE)

$(MODULE_NAME)-y := hid-multitouch.o

Expand All @@ -24,7 +24,6 @@ obj-m += uhid_compat.o
obj-m += usbhid/

KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules

Expand Down

0 comments on commit c7d75f8

Please sign in to comment.