diff options
Diffstat (limited to 'scripts/lib/devtool/menuconfig.py')
-rw-r--r-- | scripts/lib/devtool/menuconfig.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/lib/devtool/menuconfig.py b/scripts/lib/devtool/menuconfig.py index 95384c5333..18daef30c3 100644 --- a/scripts/lib/devtool/menuconfig.py +++ b/scripts/lib/devtool/menuconfig.py | |||
@@ -3,6 +3,8 @@ | |||
3 | # Copyright (C) 2018 Xilinx | 3 | # Copyright (C) 2018 Xilinx |
4 | # Written by: Chandana Kalluri <ckalluri@xilinx.com> | 4 | # Written by: Chandana Kalluri <ckalluri@xilinx.com> |
5 | # | 5 | # |
6 | # SPDX-License-Identifier: MIT | ||
7 | # | ||
6 | # This program is free software; you can redistribute it and/or modify | 8 | # This program is free software; you can redistribute it and/or modify |
7 | # it under the terms of the GNU General Public License version 2 as | 9 | # it under the terms of the GNU General Public License version 2 as |
8 | # published by the Free Software Foundation. | 10 | # published by the Free Software Foundation. |
@@ -43,7 +45,7 @@ def menuconfig(args, config, basepath, workspace): | |||
43 | return 1 | 45 | return 1 |
44 | 46 | ||
45 | check_workspace_recipe(workspace, args.component) | 47 | check_workspace_recipe(workspace, args.component) |
46 | pn = rd.getVar('PN', True) | 48 | pn = rd.getVar('PN') |
47 | 49 | ||
48 | if not rd.getVarFlag('do_menuconfig','task'): | 50 | if not rd.getVarFlag('do_menuconfig','task'): |
49 | raise DevtoolError("This recipe does not support menuconfig option") | 51 | raise DevtoolError("This recipe does not support menuconfig option") |