From 85934acb414650b3bfc0b2e262e492019a503784 Mon Sep 17 00:00:00 2001 From: Luis Ortega Perez de Villar Date: Tue, 20 Aug 2013 19:43:38 +0200 Subject: sculld: Makefile: Declare LDDINC variable earlier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the definition of LDDINC earlier into the file. This prevents the following compile time error: implicit declaration of function ‘KBUILD_STR’. --- sculld/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1-18-gbd029