Fix parallel build.
* conf/common.rmk: Add grub_script.tab.h as a grub-script-check dependency. * script/parser.y: #include grub_script.tab.h header.
This commit is contained in:
parent
4f9613a3a0
commit
14d3f08e70
3 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2010-06-21 BVK Chaitanya <bvk.groups@gmail.com>
|
||||
|
||||
Fix parallel build.
|
||||
|
||||
* conf/common.rmk: Add grub_script.tab.h as a grub-script-check
|
||||
dependency.
|
||||
* script/parser.y: #include grub_script.tab.h header.
|
||||
|
||||
2010-06-20 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
Support >3GiB and <16MiB RAM in i386-qemu.
|
||||
|
|
|
@ -95,6 +95,7 @@ grub_script_check_SOURCES = gnulib/progname.c gnulib/getdelim.c gnulib/getline.c
|
|||
kern/misc.c kern/env.c grub_script.tab.c \
|
||||
grub_script.yy.c
|
||||
grub_script_check_CFLAGS = $(GNULIB_UTIL_CFLAGS)
|
||||
grub_script_check_DEPENDENCIES = grub_script.tab.h
|
||||
MOSTLYCLEANFILES += symlist.c kernel_syms.lst
|
||||
DEFSYMFILES += kernel_syms.lst
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#define YYLTYPE_IS_TRIVIAL 0
|
||||
#define YYENABLE_NLS 0
|
||||
|
||||
#include "grub_script.tab.h"
|
||||
%}
|
||||
|
||||
%union {
|
||||
|
@ -126,6 +127,7 @@ word: GRUB_PARSER_TOKEN_NAME { $$ = grub_script_add_arglist (state, 0, $1); }
|
|||
statement: command { $$ = $1; }
|
||||
| function { $$ = 0; }
|
||||
| menuentry { $$ = $1; }
|
||||
;
|
||||
|
||||
argument : "case" { $$ = grub_script_add_arglist (state, 0, $1); }
|
||||
| "do" { $$ = grub_script_add_arglist (state, 0, $1); }
|
||||
|
|
Loading…
Reference in a new issue