PKGBUILD 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # U-Boot: PandaBoard and PandaBoard ES
  2. # Maintainer: André Silva <emulatorman@hyperbola.info>
  3. buildarch=4
  4. pkgname=uboot-omap4_panda
  5. pkgver=2016.01
  6. pkgrel=1
  7. pkgdesc="U-Boot for PandaBoard and PandaBoard ES"
  8. arch=('armv7h')
  9. url="http://git.denx.de/u-boot.git/"
  10. replaces=('uboot-pandaboard-linux-libre' 'uboot-pandaboard')
  11. conflicts=('uboot4extlinux-omap4_panda' 'uboot4grub-omap4_panda')
  12. makedepends=('bc')
  13. depends=('linux-libre')
  14. license=('GPL')
  15. install=${pkgname}.install
  16. backup=('boot/uEnv.txt')
  17. source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
  18. '0001-parabola-arm-modifications.patch'
  19. 'uEnv.txt')
  20. md5sums=('7d4f65fd43d4d706f5c5650e020d899d'
  21. 'e47c5f7b3bf0504ce36ce718eb982a77'
  22. '86004660f2912861a040e335c9c0e85b')
  23. prepare() {
  24. cd u-boot-${pkgver}
  25. patch -Np1 -i ../0001-parabola-arm-modifications.patch
  26. }
  27. build() {
  28. cd u-boot-${pkgver}
  29. unset LDFLAGS
  30. make distclean
  31. make omap4_panda_config
  32. make
  33. }
  34. package() {
  35. cd u-boot-${pkgver}
  36. mkdir -p "${pkgdir}"/boot
  37. cp MLO u-boot.img "${srcdir}"/uEnv.txt "${pkgdir}"/boot
  38. }