diff options
author | Joel Stanley <joel@jms.id.au> | 2019-12-02 07:11:31 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-12-18 01:54:23 +0300 |
commit | ccdf861a0a99b06bb5970d8e0c4163550bce2be7 (patch) | |
tree | 4756495ee466e4f45400a55ca1dbd4c0cac498cc /meta-phosphor/recipes-phosphor/sensors | |
parent | c2a635740a9c5fe5d4389c4a062e3d78995d7b26 (diff) | |
download | openbmc-ccdf861a0a99b06bb5970d8e0c4163550bce2be7.tar.xz |
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>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/sensors')
-rw-r--r-- | meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb b/meta-phosphor/recipes-phosphor/sensors/dbus-sensors_git.bb index 2a0d33290..637327ab3 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 @@ inherit cmake systemd 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" |