zephyr-flash-dfu.bbclass: fixed error message

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
This commit is contained in:
Juro Bystricky
2017-03-17 10:19:44 -07:00
parent 193ce46be1
commit 0bf6b1b12a

View File

@@ -1,9 +1,10 @@
python do_flash_usb() {
import subprocess
return_code = subprocess.call("which dfu-util", shell=True)
if return_code != 0:
bb.error("ERROR: dfu_util binary not in PATH")
bb.error("ERROR: dfu-util binary not in PATH")
sys.exit(1)
board = d.getVar('BOARD', True)