diff --git a/alarm/ec-utils/PKGBUILD b/alarm/ec-utils/PKGBUILD index 0405bddfc..87feade44 100644 --- a/alarm/ec-utils/PKGBUILD +++ b/alarm/ec-utils/PKGBUILD @@ -3,25 +3,23 @@ buildarch=4 pkgname=ec-utils -pkgver=1.9.0 +pkgver=6557.166d7a72df pkgrel=1 pkgdesc="Chromium OS Embedded Controller utilities" arch=('armv7h') makedepends=('git' 'inetutils') license=('custom:chromiumos') -source=("git+https://chromium.googlesource.com/chromiumos/platform/ec#tag=v${pkgver}") +source=("git+https://chromium.googlesource.com/chromiumos/platform/ec") md5sums=('SKIP') -prepare() { +pkgver() { cd ec - sed -i 's/ccache //g' Makefile.toolchain - cd util - sed -i 's/_BSD_SOURCE/_DEFAULT_SOURCE/g' stm32mon.c ec_uartd.c + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } build() { cd ec - HOST_CROSS_COMPILE= make utils-host + CCACHE= HOST_CROSS_COMPILE= make utils-host } package() {