2014-01-21 23:23:49 +00:00
|
|
|
# Template file for 'odroid-u2-bootcfg'
|
|
|
|
pkgname=odroid-u2-ubootcfg
|
|
|
|
version=1.0
|
|
|
|
revision=1
|
|
|
|
homepage="http://hardkernel.com"
|
|
|
|
hostmakedepends="uboot-mkimage"
|
|
|
|
short_desc="odroid u2/u3 boot configuration"
|
|
|
|
maintainer="Enno Boland <eb@s01.de>"
|
|
|
|
license="GPL-2.0"
|
|
|
|
|
|
|
|
_default_scr="boot-auto_edid.scr"
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
for source in ${FILESDIR}/*.txt; do
|
2014-01-21 23:52:08 +00:00
|
|
|
name=$(basename ${source%.txt})
|
|
|
|
mkimage -A arm -T script -C none -n "${name}" -d $source ${name}.scr
|
2014-01-21 23:23:49 +00:00
|
|
|
done
|
|
|
|
cp ${_default_scr} boot.scr
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
for scr in *.scr; do
|
|
|
|
echo $scr
|
|
|
|
vinstall $scr 600 boot
|
|
|
|
done
|
|
|
|
}
|