[beken-72xx] Correct sys_config.h path
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user