rename odroid-u2-ubootcfg odroid-u2-base

This commit is contained in:
Gottox 2014-01-23 01:41:54 +01:00
parent 1291b00559
commit 8bcef88956
7 changed files with 10 additions and 5 deletions

View File

@ -1,16 +1,20 @@
# Template file for 'odroid-u2-bootcfg' # Template file for 'odroid-u2-base'
pkgname=odroid-u2-ubootcfg pkgname=odroid-u2-base
version=1.0 version=1.0
revision=2 revision=1
homepage="http://hardkernel.com" homepage="http://www.voidlinux.eu"
hostmakedepends="uboot-mkimage" hostmakedepends="uboot-mkimage"
short_desc="odroid u2/u3 boot configuration" depends="base-system"
short_desc="ODROID U2/U3 base files"
maintainer="Enno Boland <eb@s01.de>" maintainer="Enno Boland <eb@s01.de>"
license="GPL-2.0" license="GPL-2.0"
provides="odroid-ubootcfg-${version}_${revision}"
replaces="odroid-ubootcfg>=0"
_default_scr="boot-auto_edid.scr" _default_scr="boot-auto_edid.scr"
do_build() { do_build() {
# Building uboot scr's
for source in ${FILESDIR}/*.ini; do for source in ${FILESDIR}/*.ini; do
name=$(basename ${source%.ini}) name=$(basename ${source%.ini})
mkimage -A arm -T script -C none -n "${name}" -d $source ${name}.scr mkimage -A arm -T script -C none -n "${name}" -d $source ${name}.scr
@ -19,6 +23,7 @@ do_build() {
} }
do_install() { do_install() {
# Installing uboot scr's
for scr in *.scr; do for scr in *.scr; do
echo $scr echo $scr
vinstall $scr 600 boot vinstall $scr 600 boot