def METHOD_NAME(fips_dir):
    # this checks for any "old" SDKs and removes them
    old_sdk_path = get_sdkroot_dir(fips_dir) + '/' + util.get_host_platform()
    if os.path.isdir(old_sdk_path):
        if util.confirm(log.RED + "Delete obsolete emscripten SDK in '{}'?".format(old_sdk_path) + log.DEF):
            log.info("Deleting '{}'...".format(old_sdk_path))
            shutil.rmtree(old_sdk_path, onerror=remove_readonly)
        else:
            log.info("'No' selected, nothing deleted")