2014-01-22 00:23:49 +01:00
|
|
|
# Template file for 'odroid-u2-bootcfg'
|
|
|
|
pkgname=odroid-u2-ubootcfg
|
|
|
|
version=1.0
|
2014-01-23 00:32:40 +01:00
|
|
|
revision=2
|
2014-01-22 00:23:49 +01:00
|
|
|
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() {
|
2014-01-23 00:32:40 +01:00
|
|
|
for source in ${FILESDIR}/*.ini; do
|
|
|
|
name=$(basename ${source%.ini})
|
2014-01-22 00:52:08 +01:00
|
|
|
mkimage -A arm -T script -C none -n "${name}" -d $source ${name}.scr
|
2014-01-22 00:23:49 +01:00
|
|
|
done
|
|
|
|
cp ${_default_scr} boot.scr
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
for scr in *.scr; do
|
|
|
|
echo $scr
|
|
|
|
vinstall $scr 600 boot
|
|
|
|
done
|
|
|
|
}
|