2017-12-09 21:51:48 +01:00
|
|
|
# inherit package details from kernel package
|
|
|
|
source "$SCRIPTDIR/pkg/firmware-rpi3/build"
|
2019-02-27 14:22:03 +01:00
|
|
|
DEPENDS="toolchain"
|
2017-12-09 21:51:48 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
local SOURCE="$1"
|
2018-02-16 23:22:04 +01:00
|
|
|
local DEPLOY="$2"
|
2017-12-09 21:51:48 +01:00
|
|
|
|
|
|
|
cp -r ${SOURCE}/boot/* "$DEPLOY/"
|
|
|
|
|
|
|
|
rm $DEPLOY/kernel7.img
|
|
|
|
rm $DEPLOY/kernel.img
|
|
|
|
rm $DEPLOY/COPYING.linux
|
|
|
|
|
2018-01-17 00:30:55 +01:00
|
|
|
cp "$SCRIPTDIR/pkg/boot-rpi3/config.txt" "$DEPLOY/config.txt"
|
2019-02-08 00:02:42 +01:00
|
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$DEPLOY"
|
2017-12-09 21:51:48 +01:00
|
|
|
}
|