[beken-72xx] Correct sys_config.h path

This commit is contained in:
Kuba Szczodrzyński
2022-07-26 11:11:14 +02:00
parent 60322a243a
commit 9509194bd0
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ DRIVER_DIR = join(ROOT_DIR, "driver")
FUNC_DIR = join(ROOT_DIR, "func")
# Load sys_config.h into env
env.LoadConfig(join("$FAMILY_DIR", "fixups", "sys_config.h"))
env.LoadConfig(join("$FAMILY_DIR", "config", "sys_config.h"))
# Define vars used during build
SOC_BK7231 = 1

View File

@@ -10,7 +10,7 @@ env = DefaultEnvironment()
def env_load_config(env, path):
path = env.subst(path)
if not isfile(path):
raise FileNotFoundError("Config file not found")
raise FileNotFoundError(f"Config file not found ({path})")
STRIP_CHARS = "\t "
config = {}
f = open(path, "r", encoding="utf-8")