mirror of
https://github.com/pygos/build.git
synced 2024-11-05 11:37:10 +01:00
96966bf73b
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
34 lines
729 B
Text
Executable file
34 lines
729 B
Text
Executable file
VERSION="1.20171029"
|
|
SRCDIR="firmware-${VERSION}"
|
|
TARBALL="${VERSION}.tar.gz"
|
|
URL="https://github.com/raspberrypi/firmware/archive"
|
|
SHA256SUM="46ce28c8d87ef22bdcc57ac1836ca3f04d1ec6f46580ff5a30bf76b3c0822117"
|
|
DEPENDS=""
|
|
|
|
prepare() {
|
|
return
|
|
}
|
|
|
|
build() {
|
|
return
|
|
}
|
|
|
|
deploy() {
|
|
local SOURCE="$1"
|
|
local DEPLOY="$2"
|
|
local DEVDEPLOY="$3"
|
|
|
|
cp -r "$SOURCE/hardfp/opt" "$DEPLOY/"
|
|
|
|
mkdir -p "$DEVDEPLOY/opt/vc"
|
|
mv "$DEPLOY/opt/vc/include" "$DEVDEPLOY"
|
|
|
|
cp -r "$DEPLOY/opt/vc/lib" "$DEVDEPLOY/opt/vc"
|
|
rm ${DEPLOY}/opt/vc/lib/*.a
|
|
rm -r "${DEPLOY}/opt/vc/lib/pkgconfig"
|
|
rm -r "${DEPLOY}/opt/vc/src"
|
|
|
|
strip_files ${DEPLOY}/opt/vc/{bin,sbin}/*
|
|
strip_files ${DEPLOY}/opt/vc/lib/*.so
|
|
strip_files ${DEPLOY}/opt/vc/lib/plugins/*.so
|
|
}
|