[coreboot] [commit] r5503 - trunk

Peter Stuge peter at stuge.se
Mon Apr 26 18:26:17 CEST 2010

repository service wrote:
> So we move the .c file back to .hex (or other suffix? or delete?).
> +++ trunk/Makefile	Mon Apr 26 14:27:18 2010	(r5503)
> @@ -226,6 +226,8 @@
>  	iasl -p $$(basename $$@) -tc $$(basename $$@).asl
>  	mv $$(basename $$@).hex $$(basename $$@).c
>  	$(CC) $$(CFLAGS) $$(if $$(subst dsdt,,$$(basename $$(notdir $$@))), -DAmlCode=AmlCode_$$(basename $$(notdir $$@))) -c -o $$@ $$(basename $$@).c
> +	# keep %.o: %.c rule from catching the temporary .c file after a make clean
> +	mv $$(basename $$@).c $$(basename $$@).hex

Is renaming files back and forth the best solution? It seems that
this can become a mess for dependencies.. What happens if the
compiler command is changed to operate directly on the .hex file?

Best would of course be a binary output mode from iasl. Is there one?
I think Patrick mentioned this.


More information about the coreboot mailing list