diff options
Diffstat (limited to 'scripts/yocto-compat-layer.py')
-rwxr-xr-x | scripts/yocto-compat-layer.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/yocto-compat-layer.py b/scripts/yocto-compat-layer.py index b96f3ca0bf..b4de84a0a5 100755 --- a/scripts/yocto-compat-layer.py +++ b/scripts/yocto-compat-layer.py | |||
@@ -47,6 +47,8 @@ def main(): | |||
47 | help='Layer to test compatibility with Yocto Project') | 47 | help='Layer to test compatibility with Yocto Project') |
48 | parser.add_argument('-o', '--output-log', | 48 | parser.add_argument('-o', '--output-log', |
49 | help='File to output log (optional)', action='store') | 49 | help='File to output log (optional)', action='store') |
50 | parser.add_argument('-n', '--no-auto', help='Disable auto layer discovery', | ||
51 | action='store_true') | ||
50 | parser.add_argument('-d', '--debug', help='Enable debug output', | 52 | parser.add_argument('-d', '--debug', help='Enable debug output', |
51 | action='store_true') | 53 | action='store_true') |
52 | parser.add_argument('-q', '--quiet', help='Print only errors', | 54 | parser.add_argument('-q', '--quiet', help='Print only errors', |
@@ -74,7 +76,7 @@ def main(): | |||
74 | builddir = os.environ['BUILDDIR'] | 76 | builddir = os.environ['BUILDDIR'] |
75 | bblayersconf = os.path.join(builddir, 'conf', 'bblayers.conf') | 77 | bblayersconf = os.path.join(builddir, 'conf', 'bblayers.conf') |
76 | 78 | ||
77 | layers = detect_layers(args.layers) | 79 | layers = detect_layers(args.layers, args.no_auto) |
78 | if not layers: | 80 | if not layers: |
79 | logger.error("Fail to detect layers") | 81 | logger.error("Fail to detect layers") |
80 | return 1 | 82 | return 1 |