blob: 009cd629a19e7eff06e4a4490109745e1a4dac02 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# U-Boot: Boundary Devices Nitrogen6X/Sabre Lite
# Maintainer: Isaac David <isacdaavid@at@isacdaavid@dot@info>
# Contributor: André Silva <emulatorman@parabola.nu>
pkgname=uboot4extlinux-nitrogen6q
pkgver=2014.07
pkgrel=3
arch=('armv7h')
pkgdesc="U-Boot with Extlinux support for Nitrogen6X/Sabre Lite"
url="https://github.com/boundarydevices/u-boot-imx6/tree/production"
license=('GPL')
makedepends=('bc')
conflicts=('uboot-nitrogen6q' 'uboot4grub-nitrogen6q')
backup=(boot/extlinux/extlinux.conf)
install=${pkgname}.install
_commit=bb9dde563768731423fd6c560e95e1793a90710a
source=("https://github.com/boundarydevices/u-boot-imx6/archive/${_commit}.tar.gz"
'0001-parabola-arm-modifications.patch'
'0002-kernel-add-support-for-gcc-7.patch'
'0003-ARM-asm-io.h-use-static-inline.patch'
'0004-common-main.c-make-show_boot_progress-__weak.patch'
'0005-common-board-use-__weak.patch'
'0006-common-board_f-cosmetic-use-__weak-for-leds.patch'
'extlinux.conf')
sha256sums=('d06ad5e6b9adb84e7bfa99f8d5335ef06d48b351809e6f65e83a92c0e8a4d3ce'
'1592a845ef7a229e5d370586edf344502f3ded5c24c853c790b600e8ef0128c7'
'9e80aa27cccdb07b03d56a970f247c91d586d0b936868c076c20acc2e68a3968'
'2fb98981885fbffba32fadb7b4a321e5540278c2a97f39b2700ad14c2ddb4d2a'
'83f56e80b09d010a7d0f9cc18d4df43c7f100ee3a815421f2ccbf2c337ae5431'
'bb9f0bde66266998db0eae3204346364568bab963fe7be1086d633339652b70c'
'dd2d912d4e14dc7ea83fbe6148feecc65f104ae367292278f668cdfc11f947a5'
'7fed1373a62c1a8fe351aeca57a59d501f0684358190cbae69032aac2bc99f30')
prepare() {
cd u-boot-imx6-${_commit}
patch -Np1 -i ../0001-parabola-arm-modifications.patch
patch -Np1 -i ../0002-kernel-add-support-for-gcc-7.patch
patch -Np1 -i ../0003-ARM-asm-io.h-use-static-inline.patch
patch -Np1 -i ../0004-common-main.c-make-show_boot_progress-__weak.patch
patch -Np1 -i ../0005-common-board-use-__weak.patch
patch -Np1 -i ../0006-common-board_f-cosmetic-use-__weak-for-leds.patch
}
build() {
cd u-boot-imx6-${_commit}
unset CFLAGS
unset CXXFLAGS
make distclean
make nitrogen6q_config
make
}
package() {
cd u-boot-imx6-${_commit}
mkdir -p "${pkgdir}"/boot/extlinux
cp u-boot.imx "${pkgdir}"/boot
cp "${srcdir}"/extlinux.conf "${pkgdir}"/boot/extlinux
}
|