diff --git a/alarm/rockchip-tools/PKGBUILD b/alarm/rockchip-tools/PKGBUILD index 41575c05d..ba2423b57 100644 --- a/alarm/rockchip-tools/PKGBUILD +++ b/alarm/rockchip-tools/PKGBUILD @@ -1,27 +1,28 @@ # Rockchip Tools # Maintainer: Kevin Mihelich -buildarch=4 +buildarch=12 pkgname=rockchip-tools -pkgver=20150404 +pkgver=20170420 pkgrel=1 pkgdesc="Rockchip Tools" -arch=('armv7h') +arch=('armv7h' 'aarch64') url="https://github.com/neo-technologies" depends=('openssl' 'libusb') makedepends=('git') license=('custom' 'APACHE' 'GPL') source=("git+https://github.com/neo-technologies/rkflashtool.git" "git+https://github.com/neo-technologies/rockchip-mkbootimg.git" - "git+https://github.com/neo-technologies/rkboottools.git") + "git+https://github.com/neo-technologies/rkboottools.git" + "git+https://github.com/rockchip-linux/rkdeveloptool.git") md5sums=('SKIP' + 'SKIP' 'SKIP' 'SKIP') build() { cd "${srcdir}/rkflashtool" - sed -i -e '/^CFLAGS/d' -e '/^LDFLAGS/d' Makefile make cd "${srcdir}/rockchip-mkbootimg" @@ -30,6 +31,12 @@ build() { cd "${srcdir}/rkboottools" make + + cd "${srcdir}/rkdeveloptool" + CXXFLAGS+=" -fsigned-char" + autoreconf -fi + ./configure --prefix=/usr + make } package() { @@ -43,4 +50,7 @@ package() { cd "${srcdir}/rkboottools" install -m755 rk-makebootable rk-rc4 rk-splitboot "${pkgdir}"/usr/bin + + cd "${srcdir}/rkdeveloptool" + make DESTDIR="${pkgdir}" install }