summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scullv/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/scullv/Makefile b/scullv/Makefile
index dd71bb0..5cc2a59 100644
--- a/scullv/Makefile
+++ b/scullv/Makefile
@@ -9,6 +9,7 @@ else
DEBFLAGS = -O2
endif
+LDDINC=$(PWD)
EXTRA_CFLAGS += $(DEBFLAGS) -I$(LDDINC)
TARGET = scullv
@@ -25,7 +26,7 @@ KERNELDIR ?= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
modules:
- $(MAKE) -C $(KERNELDIR) M=$(PWD) LDDINC=$(PWD) modules
+ $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
endif