diff options
author | Luis Ortega Perez de Villar <luiorpe1@upv.es> | 2013-08-20 19:43:38 +0200 |
---|---|---|
committer | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2013-09-28 13:35:44 +0200 |
commit | 85934acb414650b3bfc0b2e262e492019a503784 (patch) | |
tree | 60b04816e952ef0f56e74772aa350fe2f6223327 | |
parent | 707246827db20ff9b3c3f93940b47646c6e0a1e0 (diff) | |
download | ldd3-85934acb414650b3bfc0b2e262e492019a503784.tar.gz |
sculld: 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-- | sculld/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sculld/Makefile b/sculld/Makefile index 41a7f9b..2126308 100644 --- a/sculld/Makefile +++ b/sculld/Makefile @@ -9,6 +9,7 @@ else DEBFLAGS = -O2 endif +LDDINC=$(PWD) EXTRA_CFLAGS += $(DEBFLAGS) -I$(LDDINC) TARGET = sculld @@ -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 |