diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/qconf.cc | 18 | ||||
-rwxr-xr-x | scripts/mkcompile_h | 2 | ||||
-rwxr-xr-x | scripts/mkuboot.sh | 11 |
3 files changed, 22 insertions, 9 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index c0ae0a7ddb42..512c2f5c341d 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc | |||
@@ -89,6 +89,7 @@ void ConfigItem::okRename(int col) | |||
89 | { | 89 | { |
90 | Parent::okRename(col); | 90 | Parent::okRename(col); |
91 | sym_set_string_value(menu->sym, text(dataColIdx).latin1()); | 91 | sym_set_string_value(menu->sym, text(dataColIdx).latin1()); |
92 | listView()->updateList(this); | ||
92 | } | 93 | } |
93 | #endif | 94 | #endif |
94 | 95 | ||
@@ -605,6 +606,8 @@ void ConfigList::updateMenuList(P* parent, struct menu* menu) | |||
605 | 606 | ||
606 | visible = menu_is_visible(child); | 607 | visible = menu_is_visible(child); |
607 | if (showAll || visible) { | 608 | if (showAll || visible) { |
609 | if (!child->sym && !child->list && !child->prompt) | ||
610 | continue; | ||
608 | if (!item || item->menu != child) | 611 | if (!item || item->menu != child) |
609 | item = new ConfigItem(parent, last, child, visible); | 612 | item = new ConfigItem(parent, last, child, visible); |
610 | else | 613 | else |
@@ -1247,6 +1250,7 @@ void ConfigSearchWindow::search(void) | |||
1247 | 1250 | ||
1248 | free(result); | 1251 | free(result); |
1249 | list->list->clear(); | 1252 | list->list->clear(); |
1253 | info->clear(); | ||
1250 | 1254 | ||
1251 | result = sym_re_search(editField->text().latin1()); | 1255 | result = sym_re_search(editField->text().latin1()); |
1252 | if (!result) | 1256 | if (!result) |
@@ -1316,7 +1320,7 @@ ConfigMainWindow::ConfigMainWindow(void) | |||
1316 | conf_changed(); | 1320 | conf_changed(); |
1317 | QAction *saveAsAction = new QAction("Save As...", "Save &As...", 0, this); | 1321 | QAction *saveAsAction = new QAction("Save As...", "Save &As...", 0, this); |
1318 | connect(saveAsAction, SIGNAL(activated()), SLOT(saveConfigAs())); | 1322 | connect(saveAsAction, SIGNAL(activated()), SLOT(saveConfigAs())); |
1319 | QAction *searchAction = new QAction("Search", "&Search", CTRL+Key_F, this); | 1323 | QAction *searchAction = new QAction("Find", "&Find", CTRL+Key_F, this); |
1320 | connect(searchAction, SIGNAL(activated()), SLOT(searchConfig())); | 1324 | connect(searchAction, SIGNAL(activated()), SLOT(searchConfig())); |
1321 | QAction *singleViewAction = new QAction("Single View", QPixmap(xpm_single_view), "Split View", 0, this); | 1325 | QAction *singleViewAction = new QAction("Single View", QPixmap(xpm_single_view), "Split View", 0, this); |
1322 | connect(singleViewAction, SIGNAL(activated()), SLOT(showSingleView())); | 1326 | connect(singleViewAction, SIGNAL(activated()), SLOT(showSingleView())); |
@@ -1373,10 +1377,13 @@ ConfigMainWindow::ConfigMainWindow(void) | |||
1373 | saveAction->addTo(config); | 1377 | saveAction->addTo(config); |
1374 | saveAsAction->addTo(config); | 1378 | saveAsAction->addTo(config); |
1375 | config->insertSeparator(); | 1379 | config->insertSeparator(); |
1376 | searchAction->addTo(config); | ||
1377 | config->insertSeparator(); | ||
1378 | quitAction->addTo(config); | 1380 | quitAction->addTo(config); |
1379 | 1381 | ||
1382 | // create edit menu | ||
1383 | QPopupMenu* editMenu = new QPopupMenu(this); | ||
1384 | menu->insertItem("&Edit", editMenu); | ||
1385 | searchAction->addTo(editMenu); | ||
1386 | |||
1380 | // create options menu | 1387 | // create options menu |
1381 | QPopupMenu* optionMenu = new QPopupMenu(this); | 1388 | QPopupMenu* optionMenu = new QPopupMenu(this); |
1382 | menu->insertItem("&Option", optionMenu); | 1389 | menu->insertItem("&Option", optionMenu); |
@@ -1467,7 +1474,10 @@ void ConfigMainWindow::searchConfig(void) | |||
1467 | void ConfigMainWindow::changeMenu(struct menu *menu) | 1474 | void ConfigMainWindow::changeMenu(struct menu *menu) |
1468 | { | 1475 | { |
1469 | configList->setRootMenu(menu); | 1476 | configList->setRootMenu(menu); |
1470 | backAction->setEnabled(TRUE); | 1477 | if (configList->rootEntry->parent == &rootmenu) |
1478 | backAction->setEnabled(FALSE); | ||
1479 | else | ||
1480 | backAction->setEnabled(TRUE); | ||
1471 | } | 1481 | } |
1472 | 1482 | ||
1473 | void ConfigMainWindow::setMenuLink(struct menu *menu) | 1483 | void ConfigMainWindow::setMenuLink(struct menu *menu) |
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h index d7b8a384b4a7..82d0af46f0ef 100755 --- a/scripts/mkcompile_h +++ b/scripts/mkcompile_h | |||
@@ -58,7 +58,7 @@ UTS_TRUNCATE="sed -e s/\(.\{1,$UTS_LEN\}\).*/\1/" | |||
58 | echo \#define LINUX_COMPILE_DOMAIN | 58 | echo \#define LINUX_COMPILE_DOMAIN |
59 | fi | 59 | fi |
60 | 60 | ||
61 | echo \#define LINUX_COMPILER \"`$CC -v 2>&1 | tail -n 1`\" | 61 | echo \#define LINUX_COMPILER \"`LC_ALL=C LANG=C $CC -v 2>&1 | tail -n 1`\" |
62 | ) > .tmpcompile | 62 | ) > .tmpcompile |
63 | 63 | ||
64 | # Only replace the real compile.h if the new one is different, | 64 | # Only replace the real compile.h if the new one is different, |
diff --git a/scripts/mkuboot.sh b/scripts/mkuboot.sh index 52a17ab97eb0..4b06c5eea728 100755 --- a/scripts/mkuboot.sh +++ b/scripts/mkuboot.sh | |||
@@ -4,12 +4,15 @@ | |||
4 | # Build U-Boot image when `mkimage' tool is available. | 4 | # Build U-Boot image when `mkimage' tool is available. |
5 | # | 5 | # |
6 | 6 | ||
7 | MKIMAGE=$(type -path mkimage) | 7 | MKIMAGE=$(type -path ${CROSS_COMPILE}mkimage) |
8 | 8 | ||
9 | if [ -z "${MKIMAGE}" ]; then | 9 | if [ -z "${MKIMAGE}" ]; then |
10 | # Doesn't exist | 10 | MKIMAGE=$(type -path mkimage) |
11 | echo '"mkimage" command not found - U-Boot images will not be built' >&2 | 11 | if [ -z "${MKIMAGE}" ]; then |
12 | exit 0; | 12 | # Doesn't exist |
13 | echo '"mkimage" command not found - U-Boot images will not be built' >&2 | ||
14 | exit 0; | ||
15 | fi | ||
13 | fi | 16 | fi |
14 | 17 | ||
15 | # Call "mkimage" to create U-Boot image | 18 | # Call "mkimage" to create U-Boot image |