blob: 95b71e4b6b30062c9329e5773e58dccce059c2bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# U-Boot: UDOO
# Maintainer: Isaac David <isacdaavid@at@isacdaavid@dot@info>
# Contributor: André Silva <emulatorman@parabola.nu>
pkgname=uboot4extlinux-udoo
pkgver=2016.11
pkgrel=1
pkgdesc="U-Boot with Extlinux support for UDOO Dual and Quad"
arch=('armv7h')
url="http://git.denx.de/u-boot.git/"
conflicts=('uboot-udoo' 'uboot4grub-udoo')
replaces=('uboot4extlinux-udoo_dl' 'uboot4extlinux-udoo_quad')
license=('GPL')
makedepends=('bc' 'swig')
backup=(boot/extlinux/extlinux.conf)
install=${pkgname}.install
source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver/rc/-rc}.tar.bz2"
'0001-parabola-arm-modifications.patch'
'extlinux.conf')
sha256sums=('45813e6565dcc0436abe6752624324cdbf5f3ac106570d76d32b46ec529bcdc8'
'5a93f489208f0f2e9415779770827024e24ca717438c0998499b59b59cd6189d'
'1bb0cb3eac527182dcec2cecc128056610cce443eea8e57b0da3eb37e69623ea')
prepare() {
cd u-boot-${pkgver/rc/-rc}
patch -Np1 -i ../0001-parabola-arm-modifications.patch
}
build() {
cd u-boot-${pkgver/rc/-rc}
unset CFLAGS CXXFLAGS LDFLAGS
make distclean
make udoo_defconfig
make EXTRAVERSION=-${pkgrel}
}
package_uboot4extlinux-udoo() {
cd u-boot-${pkgver/rc/-rc}
mkdir -p "${pkgdir}"/boot/extlinux
cp "${srcdir}"/extlinux.conf "${pkgdir}"/boot/extlinux
cp SPL u-boot.img "${pkgdir}"/boot
}
|