diff options
| author | Andrei Gherzan <andrei@gherzan.ro> | 2019-07-19 19:33:11 +0100 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2019-07-20 21:56:21 +0100 |
| commit | 220c3bf0966a494b52bd4310557cc914d7adf677 (patch) | |
| tree | c5f15328e6db5cd95886734ea00ed01734b275e2 | |
| parent | 95d528b07a1a646f8a18407fbbb2ce5b57c49a00 (diff) | |
| download | meta-raspberrypi-220c3bf0966a494b52bd4310557cc914d7adf677.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 | ||
