Message ID | 20241224-makefit-v1-1-feeccef137ee@posteo.net (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | scripts/make_fit: Print DT name before libfdt errors | expand |
diff --git a/scripts/make_fit.py b/scripts/make_fit.py index 4a1bb2f55861adfce07959528e175260bc503593..1683e5ec6e6754dff3383dfec89df78b9c2fa896 100755 --- a/scripts/make_fit.py +++ b/scripts/make_fit.py @@ -279,7 +279,11 @@ def build_fit(args): if os.path.splitext(fname)[1] != '.dtb': continue - (model, compat, files) = process_dtb(fname, args) + try: + (model, compat, files) = process_dtb(fname, args) + except Exception as e: + sys.stderr.write(f"Error processing {fname}:\n") + raise e for fn in files: if fn not in fdts: