commit | 1e08522699fcfe906692024a839fd4a5fc7749f5 | [log] [tgz] |
---|---|---|
author | Rob Herring <rob.herring@calxeda.com> | Fri May 25 10:43:16 2012 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Thu Jun 21 22:34:26 2012 +0200 |
tree | 17e44a7e45f0ffff161f064e5e6474adf226f0d8 | |
parent | 8594753ba0a7151e9352f1994b829f6c2d44a023 [diff] |
pxe: support include files at top-level Include files outside of a menu were not getting included and parsed. Signed-off-by: Rob Herring <rob.herring@calxeda.com>
diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index b3c1f67..5949b24 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c
@@ -1110,6 +1110,11 @@ 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;