mirror of
git://git.yoctoproject.org/meta-rockchip.git
synced 2025-07-19 12:49:03 +02:00
rockchip-rkbin: fail if lacking an override
Looking forward, rkbin should only be used by specific Rockchip platforms for which TF-A support is not (yet?) available. If rkbin gets added by accident without an override, add a bbfatal to let the user know an override is required. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
This commit is contained in:
parent
36b07ec60c
commit
2a5eb2aa59
|
@ -25,7 +25,7 @@ do_install() {
|
|||
PACKAGES = "${PN}"
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
do_deploy() {
|
||||
do_deploy:rk3588s() {
|
||||
# Prebuilt TF-A
|
||||
install -m 644 ${S}/bin/rk35/rk3588_bl31_v*.elf ${DEPLOYDIR}/bl31-rk3588.elf
|
||||
# Prebuilt OPTEE-OS
|
||||
|
@ -34,4 +34,8 @@ do_deploy() {
|
|||
install -m 644 ${S}/bin/rk35/rk3588_ddr_lp4_2112MHz_lp5_2736MHz_v*.bin ${DEPLOYDIR}/ddr-rk3588.bin
|
||||
}
|
||||
|
||||
do_deploy() {
|
||||
bbfatal "COMPATIBLE_MACHINE requires a corresponding do_deploy:<MACHINE>() override"
|
||||
}
|
||||
|
||||
addtask deploy after do_install
|
||||
|
|
Loading…
Reference in New Issue
Block a user