From: Jeremy Kerr Date: Mon, 4 Aug 2014 01:46:00 +0000 (+0800) Subject: discover/grub2: distinguish parser.h from grub2/parser.h X-Git-Tag: v1.0.0~128 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=76591d5e727b35295ea238322f73515c8cc93945;hp=76591d5e727b35295ea238322f73515c8cc93945 discover/grub2: distinguish parser.h from grub2/parser.h 'make distcheck' will do a 'make all' srcdir == objdir, then later a 'make check' sith srcdir != objdir. Since gcc's cpp always assumes that a source file's directory is first in the include paths, we may see discover/parser.h included when we wanted the generated discover/grub2/parser.h. This change renames the grub2 lexer and parser files, to work-around this behaviour, and fix 'make distcheck'. Signed-off-by: Jeremy Kerr ---