dbus-sensors: Remove kernel sources from include path

The Linux kernel userspace headers must be installed, not included
directly from the kernel source tree:

 The correct way to package the header files for a distribution is to
 run 'make headers_install' from the kernel source directory to install
 the headers into /usr/include and then rebuild the C library package,
 with a dependency on the specific version of the just installed kernel
 headers.

(From meta-phosphor rev: 3c315a34f2763f1932c6a8c12d7d12874a51aedb)

Resolves: https://github.com/openbmc/openbmc/issues/3634
Change-Id: I308de6697a731ec184d45f72e9428c697f788864
Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb b/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb
index 2a0d332..637327a 100644
--- a/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb
+++ b/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb
@@ -24,8 +24,4 @@
 
 S = "${WORKDIR}/git/"
 
-# linux-libc-headers guides this way to include custom uapi headers
-CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include/uapi"
-CXXFLAGS_append = " -I ${STAGING_KERNEL_DIR}/include"
-do_configure[depends] += "virtual/kernel:do_shared_workdir"
 EXTRA_OECMAKE = "-DYOCTO=1"