projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kbuild: trivial - remove trailing empty lines
[carl9170fw.git]
/
config
/
expr.h
diff --git
a/config/expr.h
b/config/expr.h
index bd2e098955532a26a3935e44ad58283598cbf673..412ea8a2abb8b80c6f0a889e2fb9d7b55bf0bafa 100644
(file)
--- a/
config/expr.h
+++ b/
config/expr.h
@@
-12,7
+12,7
@@
extern "C" {
#include <assert.h>
#include <stdio.h>
#include <assert.h>
#include <stdio.h>
-#include
<sys/queue.h>
+#include
"list.h"
#ifndef __cplusplus
#include <stdbool.h>
#endif
#ifndef __cplusplus
#include <stdbool.h>
#endif
@@
-93,7
+93,7
@@
struct symbol {
#define SYMBOL_CHOICEVAL 0x0020 /* used as a value in a choice block */
#define SYMBOL_VALID 0x0080 /* set when symbol.curr is calculated */
#define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */
#define SYMBOL_CHOICEVAL 0x0020 /* used as a value in a choice block */
#define SYMBOL_VALID 0x0080 /* set when symbol.curr is calculated */
#define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */
-#define SYMBOL_WRITE 0x0200 /*
?
*/
+#define SYMBOL_WRITE 0x0200 /*
write symbol to file (KCONFIG_CONFIG)
*/
#define SYMBOL_CHANGED 0x0400 /* ? */
#define SYMBOL_AUTO 0x1000 /* value from environment variable */
#define SYMBOL_CHECKED 0x2000 /* used during dependency checking */
#define SYMBOL_CHANGED 0x0400 /* ? */
#define SYMBOL_AUTO 0x1000 /* value from environment variable */
#define SYMBOL_CHECKED 0x2000 /* used during dependency checking */
@@
-106,6
+106,12
@@
struct symbol {
#define SYMBOL_DEF3 0x40000 /* symbol.def[S_DEF_3] is valid */
#define SYMBOL_DEF4 0x80000 /* symbol.def[S_DEF_4] is valid */
#define SYMBOL_DEF3 0x40000 /* symbol.def[S_DEF_3] is valid */
#define SYMBOL_DEF4 0x80000 /* symbol.def[S_DEF_4] is valid */
+/* choice values need to be set before calculating this symbol value */
+#define SYMBOL_NEED_SET_CHOICE_VALUES 0x100000
+
+/* Set symbol to y if allnoconfig; used for symbols that hide others */
+#define SYMBOL_ALLNOCONFIG_Y 0x200000
+
#define SYMBOL_MAXLENGTH 256
#define SYMBOL_HASHSIZE 9973
#define SYMBOL_MAXLENGTH 256
#define SYMBOL_HASHSIZE 9973
@@
-175,12
+181,11
@@
struct menu {
#define MENU_ROOT 0x0002
struct jump_key {
#define MENU_ROOT 0x0002
struct jump_key {
-
CIRCLEQ_ENTRY(jump_key)
entries;
+
struct list_head
entries;
size_t offset;
struct menu *target;
int index;
};
size_t offset;
struct menu *target;
int index;
};
-CIRCLEQ_HEAD(jk_head, jump_key);
#define JUMP_NB 9
#define JUMP_NB 9