2019-03-31 12:13:43 +02:00
|
|
|
VERSION="1.20190215"
|
2017-12-09 21:51:48 +01:00
|
|
|
SRCDIR="firmware-${VERSION}"
|
2018-02-15 11:33:05 +01:00
|
|
|
TARBALL="${VERSION}.tar.gz"
|
|
|
|
URL="https://github.com/raspberrypi/firmware/archive"
|
2019-03-31 12:13:43 +02:00
|
|
|
SHA256SUM="6b6db5f15c400bc1224266fd44238dd9b2479fd09f8a55e36ccdac2120632f8f"
|
2019-02-27 14:22:03 +01:00
|
|
|
DEPENDS="toolchain"
|
2019-04-03 18:22:57 +02:00
|
|
|
SUBPKG="boot-rpi boot-rpi-dtbo rpi-vc rpi-vc-dev boot-rpi-dtb"
|
2017-12-09 21:51:48 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
local SOURCE="$1"
|
|
|
|
|
2019-03-06 10:03:12 +01:00
|
|
|
cp -r "$SOURCE/hardfp/opt" "$PKGDEPLOYDIR"
|
2019-03-31 20:06:39 +02:00
|
|
|
cp -r ${SOURCE}/boot/* "$PKGDEPLOYDIR/"
|
2019-03-06 10:03:12 +01:00
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2018-02-19 12:43:22 +01:00
|
|
|
|
2019-03-31 12:13:43 +02:00
|
|
|
strip_files ${PKGDEPLOYDIR}/opt/vc/bin/*
|
2019-03-06 10:03:12 +01:00
|
|
|
strip_files ${PKGDEPLOYDIR}/opt/vc/lib/*.so
|
|
|
|
strip_files ${PKGDEPLOYDIR}/opt/vc/lib/plugins/*.so
|
2017-12-09 21:51:48 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
curl --silent -L https://github.com/raspberrypi/firmware/releases | \
|
|
|
|
grep -o "[0-9.]\+tar.gz" | sed 's/.tar.gz//g' | \
|
|
|
|
verson_find_greatest "$VERSION"
|
2019-03-06 10:03:12 +01:00
|
|
|
}
|