diff options
author | Luis Ortega Perez de Villar <luiorpe1@upv.es> | 2013-08-16 19:46:14 +0200 |
---|---|---|
committer | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2013-09-28 13:35:44 +0200 |
commit | 12157f2efafd59a1a45f26ed51c2930a86a80c01 (patch) | |
tree | e64904b19ca47c310e957f33095abf174b420ff3 | |
parent | 3338bfb5987b487e33b04eeaf25ca87b0ca879e6 (diff) | |
download | ldd3-12157f2efafd59a1a45f26ed51c2930a86a80c01.tar.gz |
scullv: Makefile: Declare LDDINC variable earlier
Move the definition of LDDINC earlier into the file. This prevents the
following compile time error: implicit declaration of function ‘KBUILD_STR’.
-rw-r--r-- | scullv/Makefile | 3 |
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 |