diff options
author | Luis Ortega Perez de Villar <luiorpe1@upv.es> | 2013-08-20 18:14:12 +0200 |
---|---|---|
committer | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | 2013-09-28 13:35:44 +0200 |
commit | 707246827db20ff9b3c3f93940b47646c6e0a1e0 (patch) | |
tree | 28b9b5bf8016000085309049093a3ce5906959bb | |
parent | 406a271de97c8a647db9bf9c507c16dd7d560a0e (diff) | |
download | ldd3-707246827db20ff9b3c3f93940b47646c6e0a1e0.tar.gz |
lddbus: Makefile: Declare LDDINC variable earlier
Move the definition of LDDINC earlier into the file. This prevents the
following compile time error: lddbus.h: No such file or directory.
-rw-r--r-- | lddbus/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lddbus/Makefile b/lddbus/Makefile index 98d4cc9..8a7147b 100644 --- a/lddbus/Makefile +++ b/lddbus/Makefile @@ -7,8 +7,9 @@ ifeq ($(DEBUG),y) else DEBFLAGS = -O2 endif -EXTRA_CFLAGS += $(DEBFLAGS) -I$(LDDINCDIR) +LDDINCDIR=$(PWD)/../include +EXTRA_CFLAGS += $(DEBFLAGS) -I$(LDDINCDIR) ifneq ($(KERNELRELEASE),) # call from kernel build system @@ -21,7 +22,7 @@ KERNELDIR ?= /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) default: - $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) LDDINCDIR=$(PWD)/../include modules + $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) modules endif |