diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-03-02 03:57:21 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-03-02 03:57:21 -0300 |
commit | 3d328e4bfc34a90c8ce14bcaee1120c5840dd925 (patch) | |
tree | 3fdbaa64ce890c34591b8d2723e523b85d88f7d7 /libre/uboot-chiliboard/PKGBUILD | |
parent | b32b93d29dd6eeabc87cb9938c66c2139604f867 (diff) | |
download | abslibre-3d328e4bfc34a90c8ce14bcaee1120c5840dd925.tar.gz abslibre-3d328e4bfc34a90c8ce14bcaee1120c5840dd925.tar.bz2 abslibre-3d328e4bfc34a90c8ce14bcaee1120c5840dd925.zip |
uboot-chiliboard: add new package to [libre]
Diffstat (limited to 'libre/uboot-chiliboard/PKGBUILD')
-rw-r--r-- | libre/uboot-chiliboard/PKGBUILD | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/libre/uboot-chiliboard/PKGBUILD b/libre/uboot-chiliboard/PKGBUILD new file mode 100644 index 000000000..4231c9844 --- /dev/null +++ b/libre/uboot-chiliboard/PKGBUILD @@ -0,0 +1,59 @@ +# U-Boot: ChiliBoard +# Maintainer: André Silva <emulatorman@parabola.nu> + +buildarch=4 + +pkgname=uboot-chiliboard +pkgver=2014.07 +pkgrel=1.parabola1 +pkgdesc="U-Boot for ChiliBoard" +arch=('armv7h') +url="http://git.denx.de/u-boot.git/" +replaces=('uboot-chiliboard-linux-libre') +conflicts=('uboot4extlinux-chiliboard' 'uboot4grub-chiliboard') +makedepends=('bc') +depends=('linux-libre') +license=('GPL') +install=${pkgname}.install +source=("ftp://ftp.denx.de/pub/u-boot/u-boot-${pkgver}.tar.bz2" + '0001-Add-linux-compiler-gcc5.h-to-fix-builds-with-gcc5.patch' + '0002-ARM-asm-io.h-use-static-inline.patch' + '0003-common-main.c-make-show_boot_progress-__weak.patch' + '0004-common-board_f-cosmetic-use-__weak-for-leds.patch' + '0005-chiliboard-support.patch' + '0006-parabola-arm-modifications.patch' + 'uEnv.txt') +md5sums=('36d4bad687edcafa396fee607e505d4e' + 'e070e8b5cf8628b6440dfc9dbd87cb65' + '318310de19110167fe15ceac3ae32f7d' + '1792346431786e1442c4059cd3f288ed' + '2a32a77f123391c02935754ced2743c2' + '5951c799b35c526f02edbcb3eb1295fc' + '1bc6fd3299a42e15c5f14741aac15052' + '0afad1f6f3f8609db6e1f5bb322b2a1a') + +prepare() { + cd u-boot-${pkgver} + patch -Np1 -i ../0001-Add-linux-compiler-gcc5.h-to-fix-builds-with-gcc5.patch + patch -Np1 -i ../0002-ARM-asm-io.h-use-static-inline.patch + patch -Np1 -i ../0003-common-main.c-make-show_boot_progress-__weak.patch + patch -Np1 -i ../0004-common-board_f-cosmetic-use-__weak-for-leds.patch + patch -Np1 -i ../0005-chiliboard-support.patch + patch -Np1 -i ../0006-parabola-arm-modifications.patch +} + +build() { + cd u-boot-${pkgver} + + unset CFLAGS CXXFLAGS LDFLAGS + + make distclean + make chiliboard_config + make +} + +package() { + cd u-boot-${pkgver} + mkdir -p "${pkgdir}"/boot + cp MLO u-boot.img "${srcdir}"/uEnv.txt "${pkgdir}"/boot +} |