diff --git a/scripts/gen_config.py b/scripts/gen_config.py index 155418916c..1f6fcaab41 100755 --- a/scripts/gen_config.py +++ b/scripts/gen_config.py @@ -203,7 +203,7 @@ for ap in profile.get("additional_packages"): die(f"Error installing additional packages {packages_install} from {feed} feed") if profile.get("external_target", False): - if run_cmd(["./scripts/feeds", "install", profile["target"]]).returncode: + if run_cmd(["./scripts/feeds", "install", "-f", profile["target"]]).returncode: die(f"Error installing external target {profile['target']}") config_output = f"""CONFIG_TARGET_{profile["target"]}=y