diff options
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod.inc | 6 | ||||
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb | 3 | ||||
| -rw-r--r-- | meta-oe/recipes-support/libgpiod/libgpiod_1.4.1.bb | 4 |
3 files changed, 5 insertions, 8 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod.inc b/meta-oe/recipes-support/libgpiod/libgpiod.inc index 89679cb919..07ce35a7f2 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod.inc +++ b/meta-oe/recipes-support/libgpiod/libgpiod.inc | |||
| @@ -8,11 +8,9 @@ SRC_URI = "https://www.kernel.org/pub/software/libs/libgpiod/${BP}.tar.xz" | |||
| 8 | inherit autotools pkgconfig | 8 | inherit autotools pkgconfig |
| 9 | 9 | ||
| 10 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" | 10 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" |
| 11 | PACKAGECONFIG[tools] = "--enable-tools,--disable-tools," | 11 | |
| 12 | EXTRA_OECONF = "--enable-tools" | ||
| 12 | 13 | ||
| 13 | PACKAGES =+ " ${PN}-tools" | 14 | PACKAGES =+ " ${PN}-tools" |
| 14 | 15 | ||
| 15 | FILES_${PN}-tools = "${bindir}/*" | 16 | FILES_${PN}-tools = "${bindir}/*" |
| 16 | |||
| 17 | RRECOMMENDS_TOOLS = "${@bb.utils.contains('PACKAGECONFIG', 'tools', '${PN}-tools', '',d)}" | ||
| 18 | RRECOMMENDS_${PN} += "${RRECOMMENDS_TOOLS}" | ||
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb index 3ecfffdd67..c4d2bddf4c 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_0.3.3.bb | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | require libgpiod.inc | 1 | require libgpiod.inc |
| 2 | 2 | ||
| 3 | # enable tools | 3 | PACKAGECONFIG ?= "" |
| 4 | PACKAGECONFIG ?= "tools" | ||
| 5 | 4 | ||
| 6 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" | 5 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" |
| 7 | 6 | ||
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.4.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.1.bb index d559028989..0391deb86c 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_1.4.1.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.4.1.bb | |||
| @@ -5,8 +5,8 @@ DEPENDS += "autoconf-archive-native" | |||
| 5 | SRC_URI[md5sum] = "585b4bb431f99c4ba9b3ee58b9d494c1" | 5 | SRC_URI[md5sum] = "585b4bb431f99c4ba9b3ee58b9d494c1" |
| 6 | SRC_URI[sha256sum] = "21ae8fd1f8dafc2eb2ba50e652390cf533d21351419a7426255895cb52e21b1c" | 6 | SRC_URI[sha256sum] = "21ae8fd1f8dafc2eb2ba50e652390cf533d21351419a7426255895cb52e21b1c" |
| 7 | 7 | ||
| 8 | # enable tools and cxx bindings | 8 | # enable cxx bindings |
| 9 | PACKAGECONFIG ?= "cxx tools" | 9 | PACKAGECONFIG ?= "cxx" |
| 10 | 10 | ||
| 11 | PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" | 11 | PACKAGECONFIG[cxx] = "--enable-bindings-cxx,--disable-bindings-cxx" |
| 12 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" | 12 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,kmod udev" |
