2013-01-16 00:18:47 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
2012-07-16 19:42:14 +00:00
|
|
|
# Contributor: Kiril Zyapkov <kiril.zyapkov@gmail.com>
|
2012-07-14 21:54:20 +00:00
|
|
|
|
|
|
|
buildarch=2
|
|
|
|
|
2012-07-14 19:11:41 +00:00
|
|
|
pkgname=imx-bootlets-olinuxino
|
|
|
|
pkgver=10.12.01
|
2013-01-16 00:18:47 +00:00
|
|
|
pkgrel=5
|
2012-07-14 19:11:41 +00:00
|
|
|
pkgdesc="Bootlets for the i.MX233 Freescale processor"
|
|
|
|
arch=(arm)
|
|
|
|
url="http://freescale.com"
|
|
|
|
license=('MIT')
|
|
|
|
makedepends=()
|
|
|
|
source=("http://download.ossystems.com.br/bsp/freescale/source/imx-bootlets-src-${pkgver}.tar.gz"
|
|
|
|
"linux_prep-fix-cmdlines.patch"
|
|
|
|
"linux-fix-paths.patch"
|
|
|
|
"imx233-olinuxino-maxi.patch")
|
|
|
|
md5sums=('cf0ab3822dca694b930a051501c1d0e4'
|
2012-08-22 12:25:27 +00:00
|
|
|
'27056e5005be16bfa14ae9ee5233974d'
|
2013-01-16 00:18:47 +00:00
|
|
|
'a714eb6bcc1ed30b771d98ff2f2c251b'
|
2012-07-14 19:11:41 +00:00
|
|
|
'a3ecd391021d32723c34c955a3e2a0f5')
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/imx-bootlets-src-${pkgver}
|
|
|
|
patch -Np1 -i ../linux_prep-fix-cmdlines.patch
|
|
|
|
patch -Np1 -i ../linux-fix-paths.patch
|
|
|
|
patch -Np1 -i ../imx233-olinuxino-maxi.patch
|
|
|
|
|
|
|
|
BOARD=stmp378x_dev make linux_prep boot_prep power_prep
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/imx-bootlets-src-${pkgver}
|
2012-07-14 20:52:20 +00:00
|
|
|
mkdir -p ${pkgdir}/opt/imx-bootlets-olinuxino
|
|
|
|
install -m 0644 linux.bd ${pkgdir}/opt/imx-bootlets-olinuxino
|
|
|
|
install -m 0644 power_prep/power_prep ${pkgdir}/opt/imx-bootlets-olinuxino
|
|
|
|
install -m 0644 boot_prep/boot_prep ${pkgdir}/opt/imx-bootlets-olinuxino
|
|
|
|
install -m 0644 linux_prep/output-target/linux_prep ${pkgdir}/opt/imx-bootlets-olinuxino
|
2012-07-14 19:11:41 +00:00
|
|
|
}
|