From cc5d368a98715071ac4d7e801be10e8ab49cf60b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 25 Jun 2021 17:43:54 +1000 Subject: [PATCH] waf: use abspath for EXTRA_HWDEF this allows auto-reconfigure --- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript index 790052f8fd..e9eaecd0ff 100644 --- a/wscript +++ b/wscript @@ -314,6 +314,8 @@ def configure(cfg): cfg.env.ENABLE_STATS = cfg.options.enable_stats cfg.env.HWDEF_EXTRA = cfg.options.extra_hwdef + if cfg.env.HWDEF_EXTRA: + cfg.env.HWDEF_EXTRA = os.path.abspath(cfg.env.HWDEF_EXTRA) cfg.env.OPTIONS = cfg.options.__dict__