[coreboot] [PATCH] romcc --include=settings.h support

Peter Stuge peter at stuge.se
Fri Apr 3 15:42:01 CEST 2009


Stefan Reinauer wrote:
> +++ util/romcc/romcc.c	(working copy)
> @@ -24998,7 +24998,10 @@
>  	/* Enter the globl definition scope */
>  	start_scope(&state);
>  	register_builtins(&state);
> +
>  	compile_file(&state, filename, 1);
> +	if (includefile)
> +		compile_file(&state, includefile, 1);

Shouldn't the include be compiled before the actual file?


//Peter




More information about the coreboot mailing list