diff options
Diffstat (limited to 'scripts/lib')
| -rw-r--r-- | scripts/lib/devtool/menuconfig.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/lib/devtool/menuconfig.py b/scripts/lib/devtool/menuconfig.py index 18daef30c3..1054960551 100644 --- a/scripts/lib/devtool/menuconfig.py +++ b/scripts/lib/devtool/menuconfig.py | |||
| @@ -23,9 +23,6 @@ | |||
| 23 | import os | 23 | import os |
| 24 | import bb | 24 | import bb |
| 25 | import logging | 25 | import logging |
| 26 | import argparse | ||
| 27 | import re | ||
| 28 | import glob | ||
| 29 | from devtool import setup_tinfoil, parse_recipe, DevtoolError, standard, exec_build_env_command | 26 | from devtool import setup_tinfoil, parse_recipe, DevtoolError, standard, exec_build_env_command |
| 30 | from devtool import check_workspace_recipe | 27 | from devtool import check_workspace_recipe |
| 31 | logger = logging.getLogger('devtool') | 28 | logger = logging.getLogger('devtool') |
| @@ -34,7 +31,6 @@ def menuconfig(args, config, basepath, workspace): | |||
| 34 | """Entry point for the devtool 'menuconfig' subcommand""" | 31 | """Entry point for the devtool 'menuconfig' subcommand""" |
| 35 | 32 | ||
| 36 | rd = "" | 33 | rd = "" |
| 37 | kconfigpath = "" | ||
| 38 | pn_src = "" | 34 | pn_src = "" |
| 39 | localfilesdir = "" | 35 | localfilesdir = "" |
| 40 | workspace_dir = "" | 36 | workspace_dir = "" |
| @@ -51,7 +47,6 @@ def menuconfig(args, config, basepath, workspace): | |||
| 51 | raise DevtoolError("This recipe does not support menuconfig option") | 47 | raise DevtoolError("This recipe does not support menuconfig option") |
| 52 | 48 | ||
| 53 | workspace_dir = os.path.join(config.workspace_path,'sources') | 49 | workspace_dir = os.path.join(config.workspace_path,'sources') |
| 54 | kconfigpath = rd.getVar('B') | ||
| 55 | pn_src = os.path.join(workspace_dir,pn) | 50 | pn_src = os.path.join(workspace_dir,pn) |
| 56 | 51 | ||
| 57 | # add check to see if oe_local_files exists or not | 52 | # add check to see if oe_local_files exists or not |
| @@ -70,7 +65,7 @@ def menuconfig(args, config, basepath, workspace): | |||
| 70 | logger.info('Launching menuconfig') | 65 | logger.info('Launching menuconfig') |
| 71 | exec_build_env_command(config.init_path, basepath, 'bitbake -c menuconfig %s' % pn, watch=True) | 66 | exec_build_env_command(config.init_path, basepath, 'bitbake -c menuconfig %s' % pn, watch=True) |
| 72 | fragment = os.path.join(localfilesdir, 'devtool-fragment.cfg') | 67 | fragment = os.path.join(localfilesdir, 'devtool-fragment.cfg') |
| 73 | res = standard._create_kconfig_diff(pn_src,rd,fragment) | 68 | standard._create_kconfig_diff(pn_src,rd,fragment) |
| 74 | 69 | ||
| 75 | return 0 | 70 | return 0 |
| 76 | 71 | ||
