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 6c07f239fa
commit c99fe712d6

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}
}