Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH v5] Chromium-utils: add recipe for Chromium Embedded Controller utilities
@ 2017-01-11 22:50 Moritz Fischer
  2017-01-19 11:44 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Moritz Fischer @ 2017-01-11 22:50 UTC (permalink / raw)
  To: openembedded-devel; +Cc: koen, mdf

Add a recipe to build 'ectool' a utility to interact with the embedded
controller on Google's chromebooks (and other platforms using it).

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
---
Changes from v1:

- Replaced DESCRIPTION with SUMMARY (Martin)
- Use EXTRA_OEMAKE (Martin)
- Removed FILESEXTRAPATHS (Martin)
- Changed PV (Martin / Khem)
- Removed FILES_PN (Khem)

Changes from v2:

- Changed PV (Martin)

Changes from v3:

- Patch now against meta-oe (Khem, Ross)
- No longer need patch for HOST_LDFLAGS since merged upstream

Changes from v4:
- Change commitmsg (Koen)
- Install to ${sbindir} vs ${bindir} (Koen)

---

 .../chromium-utils/chromium-utils.bb               | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/chromium-utils/chromium-utils.bb

diff --git a/meta-oe/recipes-devtools/chromium-utils/chromium-utils.bb b/meta-oe/recipes-devtools/chromium-utils/chromium-utils.bb
new file mode 100644
index 0000000..c3c465e
--- /dev/null
+++ b/meta-oe/recipes-devtools/chromium-utils/chromium-utils.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Chromium EC utilities"
+DEPENDS = "libftdi"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=562c740877935f40b262db8af30bca36"
+
+SRCREV = "a7bf207add71cfb20308ed6858b1b028c866304a"
+SRC_URI = "git://chromium.googlesource.com/chromiumos/platform/ec;protocol=https \
+          "
+
+PV = "1.1.9999+gitr${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = "'HOSTCC=${CC}' 'HOSTCFLAGS=${CFLAGS}' 'HOST_LDFLAGS=${LDFLAGS}'"
+
+do_compile() {
+    oe_runmake utils
+}
+
+do_install() {
+    install -m 0755 -d ${D}${sbindir}
+    install -m 0755 ${S}/build/bds/util/ectool ${D}${sbindir}/ectool
+}
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH v5] Chromium-utils: add recipe for Chromium Embedded Controller utilities
  2017-01-11 22:50 [meta-oe][PATCH v5] Chromium-utils: add recipe for Chromium Embedded Controller utilities Moritz Fischer
@ 2017-01-19 11:44 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2017-01-19 11:44 UTC (permalink / raw)
  To: Moritz Fischer; +Cc: koen, mdf, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

On Wed, Jan 11, 2017 at 02:50:13PM -0800, Moritz Fischer wrote:
> Add a recipe to build 'ectool' a utility to interact with the embedded
> controller on Google's chromebooks (and other platforms using it).
> 
> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
> ---
> Changes from v1:
> 
> - Replaced DESCRIPTION with SUMMARY (Martin)
> - Use EXTRA_OEMAKE (Martin)
> - Removed FILESEXTRAPATHS (Martin)
> - Changed PV (Martin / Khem)
> - Removed FILES_PN (Khem)
> 
> Changes from v2:
> 
> - Changed PV (Martin)
> 
> Changes from v3:
> 
> - Patch now against meta-oe (Khem, Ross)
> - No longer need patch for HOST_LDFLAGS since merged upstream
> 
> Changes from v4:
> - Change commitmsg (Koen)
> - Install to ${sbindir} vs ${bindir} (Koen)

Fails to build because of missing dependencies, see:
http://errors.yoctoproject.org/Errors/Details/117457/

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-19 11:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-11 22:50 [meta-oe][PATCH v5] Chromium-utils: add recipe for Chromium Embedded Controller utilities Moritz Fischer
2017-01-19 11:44 ` Martin Jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox