PKGBUILD 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # U-Boot: PandaBoard and PandaBoard ES
  2. # Maintainer: Isaac David <isacdaavid@at@isacdaavid@dot@info>
  3. # Contributor: André Silva <emulatorman@hyperbola.info>
  4. pkgname=uboot4extlinux-omap4_panda
  5. pkgver=2017.01
  6. pkgrel=1.1
  7. pkgdesc="U-Boot with Extlinux support for PandaBoard and PandaBoard ES"
  8. arch=('armv7h')
  9. url="http://git.denx.de/u-boot.git/"
  10. conflicts=('uboot-omap4_panda' 'uboot4grub-omap4_panda')
  11. makedepends=('bc')
  12. license=('GPL')
  13. install=${pkgname}.install
  14. backup=('boot/extlinux/extlinux.conf' 'boot/uEnv.txt')
  15. source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2"
  16. '0001-parabola-arm-modifications.patch'
  17. 'extlinux.conf'
  18. 'uEnv.txt')
  19. sha256sums=('6c425175f93a4bcf2ec9faf5658ef279633dbd7856a293d95bd1ff516528ecf2'
  20. 'dbdfef11ac6ef81add6a7d5983e715538583738561409e35de393a0bc2185772'
  21. 'bb489334db2d44562caa18ed6297068cf7df3afdf1bb8b1b1f27bce0d2b8e987'
  22. '79c60872095fb4a421a532ce918ffb0927398a83df028578aebf46f54a4d6ed6')
  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/extlinux
  37. cp MLO u-boot.img "${srcdir}"/uEnv.txt "${pkgdir}"/boot
  38. cp "${srcdir}"/extlinux.conf "${pkgdir}"/boot/extlinux
  39. }