2018-11-27 14:09:41 +01:00
|
|
|
VERSION="1.20181112"
|
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"
|
2018-11-27 14:09:41 +01:00
|
|
|
SHA256SUM="eccb3221fe5fbf9e44e7d1a79b2f401eb7527a41fb8ea7fe7231bc188a8ff50b"
|
2019-02-27 14:22:03 +01:00
|
|
|
DEPENDS="toolchain"
|
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"
|
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
|
2018-02-19 12:43:22 +01:00
|
|
|
|
2019-03-06 10:03:12 +01:00
|
|
|
strip_files ${PKGDEPLOYDIR}/opt/vc/{bin,sbin}/*
|
|
|
|
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
|
|
|
}
|