Chromium-utils: add recipe for Chromium Embedded Controller utilities
PATCH v5 1/1 Chromium-utils: add recipe for Chromium Embedded Controller utilities
Add a recipe to build 'ectool' a utility to interact with the embedded controller on Google's chromebooks (and other platforms using it).
---
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
meta-oe/recipes-devtools/chromium-utils/chromium-utils.bb new file +23 -0
@@ -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 +}
Signature · 1 line
2.7.4
Quoted 17 lines · Moritz Fischer
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 <[email protected]>---
Changes from v1:- Replaced DESCRIPTION with SUMMARY (Martin)
- UseEXTRA_OEMAKE(Martin)
- Removed FILESEXTRAPATHS (Martin)
- Changed PV (Martin / Khem)
- RemovedFILES_PN(Khem)Changes from v2:
- Changed PV (Martin)
Quoted 8 lines
Changes from v3:
- Patch now against meta-oe (Khem, Ross)
- No longer need patch forHOST_LDFLAGSsince merged upstreamChanges 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/