diff options
author | James Feist <james.feist@linux.intel.com> | 2019-05-30 21:58:40 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2019-06-10 21:25:42 +0300 |
commit | 3acedc59bd134f8a207e9f4fac4f7f5f8a4a0363 (patch) | |
tree | 8487b104c2705eb8e36a45f56ac52833baccd8fb | |
parent | 2f2914d3ac6dd55e831c0e312399dc0fea72f4b0 (diff) | |
download | openbmc-3acedc59bd134f8a207e9f4fac4f7f5f8a4a0363.tar.xz |
libgpiod: Enable CXX Headers
Add CXX to packageconfig and change the devtools to
RDEPEND on libgpiod-tools instead as they are the actual
tools. Without changing it to the tools when we enable
cxx the tools do not by default get installed by Yocto.
Tested: gpioinfo still functioned properly on BMC, and was
able to bitbake package using CXX headers for dbus-sensors.
(From meta-phosphor rev: 76d4c46294c83ea0240a319b4e74c06b57dc51c1)
Change-Id: I5143130bbfbe97f8af4818231d502f36f88fe4ae
Signed-off-by: James Feist <james.feist@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r-- | meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb | 2 | ||||
-rw-r--r-- | meta-phosphor/recipes-support/libgpiod/libgpiod_%.bbappend | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb index 238ee293e..fdec305f5 100644 --- a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb +++ b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb @@ -52,7 +52,7 @@ RDEPENDS_${PN}-extrasdev = " \ SUMMARY_${PN}-extrasdevtools = "Development tools" RDEPENDS_${PN}-extrasdevtools = " \ - libgpiod \ + libgpiod-tools \ " # Use the fan control package group for applications diff --git a/meta-phosphor/recipes-support/libgpiod/libgpiod_%.bbappend b/meta-phosphor/recipes-support/libgpiod/libgpiod_%.bbappend new file mode 100644 index 000000000..0ee1845d2 --- /dev/null +++ b/meta-phosphor/recipes-support/libgpiod/libgpiod_%.bbappend @@ -0,0 +1 @@ +PACKAGECONFIG += " cxx" |