summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-03-16 10:17:10 +0100
committerMaciej Wereski <m.wereski@partner.samsung.com>2015-04-02 17:24:19 +0200
commit5bd099cf5fd01b9fa1dfb65ac60d0081545a3b89 (patch)
tree1404aab77af71e6f5ea79513143cd4d6eabe6983
parenta67bb71d3d00c1db72e71a421449c79561019d78 (diff)
downloadlinux-3.10-5bd099cf5fd01b9fa1dfb65ac60d0081545a3b89.tar.gz
linux-3.10-5bd099cf5fd01b9fa1dfb65ac60d0081545a3b89.tar.bz2
linux-3.10-5bd099cf5fd01b9fa1dfb65ac60d0081545a3b89.zip
samples/kdbus: drop wrong include
There is no reason to use ./include/uapi/ directly from samples. If your system headers are not up-to-date, you _need_ to run "make headers-install" (which will install them to ./usr/ in your kernel tree) before building the examples. Otherwise, you will get warnings and build failures. Once ./usr/ is updated with the correct headers, it contains everything we need, so drop -Iinclude/uapi from the kdbus-workers CFLAGS. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--samples/kdbus/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/samples/kdbus/Makefile b/samples/kdbus/Makefile
index eee9b9aed63..e714602b626 100644
--- a/samples/kdbus/Makefile
+++ b/samples/kdbus/Makefile
@@ -5,7 +5,5 @@ hostprogs-y += kdbus-workers
always := $(hostprogs-y)
-HOSTCFLAGS_kdbus-workers.o += \
- -I$(objtree)/usr/include/ \
- -I$(objtree)/include/uapi/
+HOSTCFLAGS_kdbus-workers.o += -I$(objtree)/usr/include
HOSTLOADLIBES_kdbus-workers := -lrt