diff options
author | Joakim Reinert | 2017-01-14 15:53:27 +0100 |
---|---|---|
committer | Joakim Reinert | 2017-01-14 15:53:27 +0100 |
commit | 8d2bebb7256d7bb8b3768ca09755598f4beb463c (patch) | |
tree | 45314c70e74b4e93c1538deda170a42451998058 | |
parent | 02ee525c4d038f6bdd68a15f98f3d188114effe4 (diff) | |
download | aur-8d2bebb7256d7bb8b3768ca09755598f4beb463c.tar.gz |
build firmare in install script
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | axoloti-runtime-git.install | 3 |
3 files changed, 6 insertions, 5 deletions
@@ -1,10 +1,11 @@ # Generated by mksrcinfo v8 -# Sat Jan 14 14:39:34 UTC 2017 +# Sat Jan 14 14:53:11 UTC 2017 pkgbase = axoloti-runtime-git pkgdesc = runtime for axoloti pkgver = 1.0.11.r61.g6a05b1c2 pkgrel = 3 url = http://www.axoloti.com + install = axoloti-runtime-git.install arch = x86_64 license = GPL makedepends = libtool @@ -13,6 +13,7 @@ makedepends=(libtool automake autoconf unzip) provides=(axoloti-runtime=$pkgver) conflicts=(axoloti-runtime) options=('!strip') +install="$pkgname.install" _chibios_version=2.6.9 _chibios=ChibiOS_${_chibios_version} @@ -59,10 +60,6 @@ build() { make install make clean ldd "$srcdir/$_gitname/platform_linux/bin/dfu-util" - - echo '##### compiling firmware... #####' - cd "$srcdir/$_gitname/platform_linux" - BUILDDIR="$srcdir/$_gitname/firmware/build" ./compile_firmware.sh } pkgver() { diff --git a/axoloti-runtime-git.install b/axoloti-runtime-git.install new file mode 100644 index 000000000000..29d86ac49e40 --- /dev/null +++ b/axoloti-runtime-git.install @@ -0,0 +1,3 @@ +echo '##### compiling firmware... #####' +cd /opt/axoloti-runtime/platform_linux +BUILDDIR=/opt/axoloti-runtime/firmware/build ./compile_firmware.sh |