diff options
Diffstat (limited to 'libre/uboot4extlinux-am335x/PKGBUILD')
-rw-r--r-- | libre/uboot4extlinux-am335x/PKGBUILD | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/libre/uboot4extlinux-am335x/PKGBUILD b/libre/uboot4extlinux-am335x/PKGBUILD index 7d905d7e3..5480ab8ab 100644 --- a/libre/uboot4extlinux-am335x/PKGBUILD +++ b/libre/uboot4extlinux-am335x/PKGBUILD @@ -4,9 +4,10 @@ # Contributor: Márcio Silva <coadde@hyperbola.info> pkgbase=uboot4extlinux-am335x -pkgname=('uboot4extlinux-am335x_bone') -pkgver=2019.01 -pkgrel=4 +pkgname=('uboot4extlinux-am335x_bone' + 'uboot4extlinux-chiliboard') +pkgver=2019.10 +pkgrel=1 arch=('armv7h') url="http://git.denx.de/u-boot.git/" license=('GPL') @@ -14,10 +15,11 @@ makedepends=('bc' 'bison' 'dtc' 'flex' 'python' 'python2' 'swig') backup=(boot/extlinux/extlinux.conf) source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2" 'extlinux.conf') -sha256sums=('50bd7e5a466ab828914d080d5f6a432345b500e8fba1ad3b7b61e95e60d51c22' - 'dcce8acd934eef35360c9e455197b1b46455a1a35c78bc94b9ed96234f2bb2b8') +sha256sums=('8d6d6070739522dd236cba7055b8736bfe92b4fac0ea18ad809829ca79667014' + '445fb52f25787d184596d8ad6f6c6359d4ca2508fd68f7a178970b760f8080fd') -boards=('am335x_evm') +boards=('am335x_evm' + 'chiliboard') prepare() { cd u-boot-${pkgver} @@ -56,3 +58,21 @@ package_uboot4extlinux-am335x_bone() { install -Dm644 extlinux.conf "${pkgdir}"/boot/extlinux } + +package_uboot4extlinux-chiliboard() { + pkgdesc="U-Boot with Extlinux support for the ChiliBoard" + + install=${pkgbase}.install + provides=('uboot4extlinux-am335x') + conflicts=('uboot-chiliboard') + + install -d "${pkgdir}"/boot/extlinux + install -d "${pkgdir}"/boot/u-boot/images/ + + install -Dm644 \ + bin_chiliboard/MLO \ + bin_chiliboard/u-boot.img \ + "${pkgdir}"/boot/u-boot/images/ + + install -Dm644 extlinux.conf "${pkgdir}"/boot/extlinux +} |