diff options
author | Andrei Gherzan <andrei@gherzan.ro> | 2019-07-19 19:33:11 +0100 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2019-07-19 20:05:53 +0100 |
commit | c99fe712d64fd0a9e1cf776f0c4ff48e258cf8cf (patch) | |
tree | 42d0580af67fc6cf9e3e60eae8ca7754ce01fa48 | |
parent | 6c07f239fa4d136fdbd010272502fbbb30b86ee9 (diff) | |
download | meta-raspberrypi-c99fe712d64fd0a9e1cf776f0c4ff48e258cf8cf.tar.gz |
armstubs: Error out when ARMSTUBS is not defined
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
-rw-r--r-- | recipes-bsp/armstubs/armstubs.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-bsp/armstubs/armstubs.bb b/recipes-bsp/armstubs/armstubs.bb index 066f7c3..66f2833 100644 --- a/recipes-bsp/armstubs/armstubs.bb +++ b/recipes-bsp/armstubs/armstubs.bb | |||
@@ -17,6 +17,7 @@ export OBJCOPY8="${OBJCOPY}" | |||
17 | export OBJDUMP8="${OBJDUMP} -maarch64" | 17 | export OBJDUMP8="${OBJDUMP} -maarch64" |
18 | 18 | ||
19 | do_compile() { | 19 | do_compile() { |
20 | [ -z "${ARMSTUB}" ] && bbfatal "No ARMSTUB defined for your machine." | ||
20 | oe_runmake ${ARMSTUB} | 21 | oe_runmake ${ARMSTUB} |
21 | } | 22 | } |
22 | 23 | ||