From: Hiago De Franco <hiagofranco@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Denys Dmytriyenko <denis@denix.org>,
Ross Burton <Ross.Burton@arm.com>,
Hiago De Franco <hiago.franco@toradex.com>
Subject: [PATCH v3 1/3] hwdata: add recipe from meta-openembedded
Date: Mon, 25 Nov 2024 21:08:34 -0300 [thread overview]
Message-ID: <20241126000836.6901-2-hiagofranco@gmail.com> (raw)
In-Reply-To: <20241126000836.6901-1-hiagofranco@gmail.com>
From: Hiago De Franco <hiago.franco@toradex.com>
Move hwdata recipe from meta-openembedded to openembedded-core.
libdisplay-info is now a requirement for Weston, since commit
a16598b038b2 ("backend-drm: make libdisplay-info mandatory"). However,
in order to build libdisplay-info, hwdata is required. Since Weston is
built inside openembedded-core, move hwdata in order to be able to
upgrade Weston, so oe-core has no dependency on meta-oe.
hwdata contains various hardware identification and configuration data.
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
---
meta/conf/distro/include/maintainers.inc | 1 +
meta/recipes-support/hwdata/hwdata_0.389.bb | 30 +++++++++++++++++++++
2 files changed, 31 insertions(+)
create mode 100644 meta/recipes-support/hwdata/hwdata_0.389.bb
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index d61b88f7de6c..04208ebbf22b 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -262,6 +262,7 @@ RECIPE_MAINTAINER:pn-harfbuzz = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER:pn-hdparm = "Denys Dmytriyenko <denis@denix.org>"
RECIPE_MAINTAINER:pn-help2man = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER:pn-hicolor-icon-theme = "Anuj Mittal <anuj.mittal@intel.com>"
+RECIPE_MAINTAINER:pn-hwdata = "Hiago De Franco <hiago.franco@toradex.com>"
RECIPE_MAINTAINER:pn-hwlatdetect = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER:pn-i2c-tools = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER:pn-icecc-create-env = "Joshua Watt <JPEWhacker@gmail.com>"
diff --git a/meta/recipes-support/hwdata/hwdata_0.389.bb b/meta/recipes-support/hwdata/hwdata_0.389.bb
new file mode 100644
index 000000000000..8ab455cd2e99
--- /dev/null
+++ b/meta/recipes-support/hwdata/hwdata_0.389.bb
@@ -0,0 +1,30 @@
+SUMMARY = "Hardware identification and configuration data"
+DESCRIPTION = "hwdata contains various hardware identification and \
+configuration data, such as the pci.ids and usb.ids databases."
+HOMEPAGE = "https://github.com/vcrhonek/hwdata"
+SECTION = "System/Base"
+
+LICENSE = "GPL-2.0-or-later | XFree86-1.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57"
+
+SRC_URI = "git://github.com/vcrhonek/${BPN}.git;branch=master;protocol=https"
+SRCREV = "5313a12eb992a354c17fc895c1d69c8c42b09a06"
+
+S = "${WORKDIR}/git"
+
+inherit allarch
+
+do_configure() {
+ ${S}/configure --datadir=${datadir} --libdir=${libdir}
+}
+
+do_compile[noexec] = "1"
+
+do_install() {
+ oe_runmake install DESTDIR=${D}
+}
+
+FILES:${PN} = "${libdir}/* \
+ ${datadir}/* "
+
+BBCLASSEXTEND += "native"
--
2.39.5
next prev parent reply other threads:[~2024-11-26 0:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-26 0:08 [PATCH v3 0/3] weston: upgrade and add libdisplay-info recipe Hiago De Franco
2024-11-26 0:08 ` Hiago De Franco [this message]
2024-11-26 0:51 ` [OE-core] [PATCH v3 1/3] hwdata: add recipe from meta-openembedded Khem Raj
2024-11-26 12:17 ` Hiago De Franco
2024-11-26 12:21 ` Alexander Kanavin
2024-11-27 19:13 ` Hiago De Franco
2024-11-27 19:50 ` Denys Dmytriyenko
2024-11-27 21:37 ` Hiago De Franco
2024-11-26 0:08 ` [PATCH v3 2/3] libdisplay-info: add recipe Hiago De Franco
2024-11-26 0:08 ` [PATCH v3 3/3] weston: upgrade 13.0.3 -> 14.0.1 Hiago De Franco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241126000836.6901-2-hiagofranco@gmail.com \
--to=hiagofranco@gmail.com \
--cc=Ross.Burton@arm.com \
--cc=denis@denix.org \
--cc=hiago.franco@toradex.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.