armstubs: Error out when ARMSTUBS is not defined

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
Andrei Gherzan 2019-07-19 19:33:11 +01:00
parent 95d528b07a
commit 220c3bf096

View File

@ -17,6 +17,7 @@ export OBJCOPY8="${OBJCOPY}"
export OBJDUMP8="${OBJDUMP} -maarch64"
do_compile() {
[ -z "${ARMSTUB}" ] && bbfatal "No ARMSTUB defined for your machine."
oe_runmake ${ARMSTUB}
}