diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-29 21:49:38 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-09-29 21:50:05 -0300 |
commit | e736917127daea94a4a4b924ee654124bf315c28 (patch) | |
tree | 489b1d8d3a9d1d55b22c407f5188364560f65830 /libre/uboot-grub/PKGBUILD | |
parent | 9051187184e1e9c463ac917f397a3f23c589571e (diff) | |
download | abslibre-e736917127daea94a4a4b924ee654124bf315c28.tar.gz abslibre-e736917127daea94a4a4b924ee654124bf315c28.tar.bz2 abslibre-e736917127daea94a4a4b924ee654124bf315c28.zip |
uboot-grub: add generic board config and header
Diffstat (limited to 'libre/uboot-grub/PKGBUILD')
-rw-r--r-- | libre/uboot-grub/PKGBUILD | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/libre/uboot-grub/PKGBUILD b/libre/uboot-grub/PKGBUILD index e676577d0..6bb28d994 100644 --- a/libre/uboot-grub/PKGBUILD +++ b/libre/uboot-grub/PKGBUILD @@ -10,12 +10,16 @@ license=('GPL2') makedepends=('bc') source=("ftp://ftp.denx.de/pub/${_pkgbase}/${_pkgbase}-${pkgver}.tar.bz2" '0001-Revert-arch-Make-board-selection-choices-optional.patch' + 'config.generic' + 'generic.h' 'uboot-am335x_evm_boot-on-grub.patch' 'config.am335x_evm' 'uEnv-am335x_evm.txt' "${pkgbase}-install-am335x_evm.sh") sha512sums=('40878f28c19f077bc83b82687c9f656c64ef2bdbbc3b4caf3f7ec657a7200ce212713cd5adbc0cb23379950fe804767d1efb9108cc8c33b66faa7c7d3a831ffe' '8da39a3c8aa05a1897c4b0b2279c6e819523a46f6bce4b4a9027e58cc9d5c6ccf7787dfcf03453ece6f114e5638d06dcad055d276d4dfbcca3d65366afe46fe7' + '91cffc9bd2da1146aa9a86d7ef7236df0a0100eb5800fc4a6696ecdc91f68a4ec85865257b6232701ea15b6ef940a0b62de95072a4019cb21ec86863b74513cf' + '8520f5416b975409db69ac8093c56495d2037a106ee76925e9dd869cdc853b81390ba895704801b3a893992919ec3e95aee31504eb1d68b065da83a09a2c74dd' 'c292fa1c90c33d4291e5d24d3ff4834949fc14f9835fe71b6a3de29005438910b3ed6ade081e8c78617302b3912edcaf9b7806596506fa1fdc3154d929d9a055' 'ade631646eb5de3a7f0cbd4577cfbf50979d242bce6f1a00e31ab49c15fd44295c61bd4f12a66e521a0c04b394e7a9172a70241281f119cfd3d56394d514e531' 'd8287e898bdcb1a542693c2bf94eead62a640d845145527005ce37e1bbba1e73552ef2728271b7486c7fb059239de7f18fe254af30b03b4293a5993ce1e8b351' @@ -29,6 +33,7 @@ _prepare_uboot-grub-am335x_evm() { msg 'Patch to boot on GRUB' patch -p1 -i "${srcdir}/uboot-am335x_evm_boot-on-grub.patch" + msg 'Add am335x_evm configuration' cat "${srcdir}/config.am335x_evm" > '.config' unset CFLAGS CXXFLAGS LDFLAGS @@ -43,8 +48,14 @@ _prepare_uboot-grub-am335x_evm() { prepare() { cd "${srcdir}/${_pkgbase}-${pkgver}/" - msg "[Das U-Boot ver.2015.07]: Fix removing board selection choices optional" - patch -p1 -i "${srcdir}/0001-Revert-arch-Make-board-selection-choices-optional.patch + msg 'Add generic configuration' + cat "${srcdir}/config.generic" > '.config' + + msg '[Das U-Boot ver.2015.07]: Fix add "include/configs/.h" file for generic board' + cat "${srcdir}/generic.h" > 'include/configs/.h' + + # msg '[Das U-Boot ver.2015.07]: Fix removing board selection choices optional' + # patch -p1 -i "${srcdir}/0001-Revert-arch-Make-board-selection-choices-optional.patch if [[ "${CARCH}" == "armv7h" ]]; then msg "Prepare U-Boot for am335x_evm to run GRUB" |