summaryrefslogtreecommitdiffstats
path: root/external/poky/bitbake/bin/bitbake-layers
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/bitbake/bin/bitbake-layers')
-rwxr-xr-xexternal/poky/bitbake/bin/bitbake-layers16
1 files changed, 4 insertions, 12 deletions
diff --git a/external/poky/bitbake/bin/bitbake-layers b/external/poky/bitbake/bin/bitbake-layers
index d184011e..149f1b1a 100755
--- a/external/poky/bitbake/bin/bitbake-layers
+++ b/external/poky/bitbake/bin/bitbake-layers
@@ -7,18 +7,8 @@
# Copyright (C) 2011 Mentor Graphics Corporation
# Copyright (C) 2011-2015 Intel Corporation
#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License version 2 as
-# published by the Free Software Foundation.
+# SPDX-License-Identifier: GPL-2.0-only
#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
import logging
import os
@@ -62,7 +52,9 @@ def main():
# Need to re-run logger_create with color argument
# (will be the same logger since it has the same name)
- bb.msg.logger_create('bitbake-layers', output=sys.stdout, color=global_args.color)
+ bb.msg.logger_create('bitbake-layers', output=sys.stdout,
+ color=global_args.color,
+ level=logger.getEffectiveLevel())
plugins = []
tinfoil = bb.tinfoil.Tinfoil(tracking=True)