diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-03-02 00:23:43 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-03-02 00:28:07 -0300 |
commit | 11467233d8b439275ce1e1db650a4c6f91a9db1f (patch) | |
tree | 62cc14ffe05dcc5541210d2073a4c119e6a125c2 /libre-testing/uboot4extlinux-udoo/PKGBUILD | |
parent | a44772df880c7bcf6ba114a6e4d86ba4ff6b4adc (diff) | |
download | abslibre-11467233d8b439275ce1e1db650a4c6f91a9db1f.tar.gz abslibre-11467233d8b439275ce1e1db650a4c6f91a9db1f.tar.bz2 abslibre-11467233d8b439275ce1e1db650a4c6f91a9db1f.zip |
move uboot4extlinux packages to [libre-testing] since it aren't stable yet
Diffstat (limited to 'libre-testing/uboot4extlinux-udoo/PKGBUILD')
-rw-r--r-- | libre-testing/uboot4extlinux-udoo/PKGBUILD | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/libre-testing/uboot4extlinux-udoo/PKGBUILD b/libre-testing/uboot4extlinux-udoo/PKGBUILD new file mode 100644 index 000000000..56584e572 --- /dev/null +++ b/libre-testing/uboot4extlinux-udoo/PKGBUILD @@ -0,0 +1,65 @@ +# U-Boot: UDOO +# Maintainer: André Silva <emulatorman@parabola.nu> + +buildarch=4 + +pkgbase=uboot4extlinux-udoo +pkgname=('uboot4extlinux-udoo_dl' 'uboot4extlinux-udoo_quad') +pkgver=2015.01 +pkgrel=2 +arch=('armv7h') +url="http://git.denx.de/u-boot.git/" +license=('GPL') +makedepends=('bc') +backup=(boot/extlinux/extlinux.conf) +source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2" + '0001-parabola-arm-modifications.patch' + '0002-kernel-add-support-for-gcc-5.patch' + 'extlinux.conf') +md5sums=('7f08dc9e98a71652bd6968888ed6ec95' + 'f90125a266a2cd80980464f949d03d88' + '721a46867e189d8dedc6b6f86a536a34' + 'e05d2d41a1bdbbd5d6fec02534784dcd') + +prepare() { + cd u-boot-${pkgver} + + patch -Np1 -i ../0001-parabola-arm-modifications.patch + patch -Np1 -i ../0002-kernel-add-support-for-gcc-5.patch +} + +build() { + cd u-boot-${pkgver} + + unset CFLAGS CXXFLAGS LDFLAGS + + mkdir bins + for i in dl quad; do + make distclean + make udoo_${i}_config + make + mv u-boot.imx bins/u-boot-${i}.imx + done +} + +package_uboot4extlinux-udoo_dl() { + pkgdesc="U-Boot with Extlinux support for UDOO Dual" + conflicts=('uboot-udoo' 'uboot4extlinux-udoo' 'uboot4grub-udoo') + provides=('uboot4extlinux-udoo') + install=${pkgbase}.install + + mkdir -p "${pkgdir}"/boot/extlinux + cp u-boot-${pkgver}/bins/u-boot-dl.imx "${pkgdir}"/boot/u-boot.imx + cp "${srcdir}"/extlinux.conf "${pkgdir}"/boot/extlinux +} + +package_uboot4extlinux-udoo_quad() { + pkgdesc="U-Boot with Extlinux support for UDOO Quad" + conflicts=('uboot-udoo' 'uboot4extlinux-udoo' 'uboot4grub-udoo') + provides=('uboot4extlinux-udoo') + install=${pkgbase}.install + + mkdir -p "${pkgdir}"/boot/extlinux + cp u-boot-${pkgver}/bins/u-boot-quad.imx "${pkgdir}"/boot/u-boot.imx + cp "${srcdir}"/extlinux.conf "${pkgdir}"/boot/extlinux +} |