Skip to content
Snippets Groups Projects
Commit 1e085226 authored by Rob Herring's avatar Rob Herring Committed by Wolfgang Denk
Browse files

pxe: support include files at top-level


Include files outside of a menu were not getting included and parsed.

Signed-off-by: default avatarRob Herring <rob.herring@calxeda.com>
parent 8594753b
No related branches found
No related tags found
No related merge requests found
......@@ -1110,6 +1110,11 @@ static int parse_pxefile_top(char *p, struct pxe_menu *cfg, int nest_level)
break;
case T_INCLUDE:
err = handle_include(&p, b + ALIGN(strlen(b), 4), cfg,
nest_level + 1);
break;
case T_PROMPT:
err = parse_integer(&p, &cfg->prompt);
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment