Message ID | 20240710114616.1486962-1-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [yocto-autobuilder-helper,kirkstone,1/2] layer-config: Allow layer add to be disabled on a per target basis | expand |
diff --git a/scripts/layer-config b/scripts/layer-config index bb1b681e..91d6200d 100755 --- a/scripts/layer-config +++ b/scripts/layer-config @@ -55,6 +55,9 @@ for repo in needrepos: repo_basename = repo.split('/')[0] if repo_basename in repos and "no-layer-add" in repos[repo_basename] and repos[repo_basename]["no-layer-add"]: continue + nolayeradd = utils.getconfiglist("NOLAYERADD", ourconfig, args.target, None) + if repo_basename in nolayeradd: + continue try: bitbakecmd(args.abworkdir, "bitbake-layers add-layer %s" % (args.abworkdir + "/" + repo)) except subprocess.CalledProcessError as e: