+
+ # Hack to remove 'bertos/' from the configuration file path.
+ #
+ # The new module information format substitute paths like 'bertos/cfg/config_file.h'
+ # with the relative path into the bertos directory ('cfg/config_file.h')
+ information["configuration"] = information["configuration"].replace("bertos/", "")
+ information["hw"] = [hw.replace("bertos/", "") for hw in information["hw"]]
+