[coreboot] buildrom
Peter Stuge
peter at stuge.se
Wed May 21 12:45:56 CEST 2008
On Wed, May 21, 2008 at 12:44:24PM +0200, Peter Stuge wrote:
> Here's a hacky rule that will do the check when bash is $SHELL.
> Please improve it any way you can. Maybe there are some predefined
> variables with the make version we can use instead?
>
> If people like it I could make a patch.
>
>
> .PHONY: versioncheck
>
> versioncheck:
> @ echo GNU make 3.79.1 | \
> (read g m v; \
> vmaj=$${v/.*}; vaftmaj=$${v#*.}; vmin=$${vaftmaj%%.*}; \
> test $$vmaj -lt 3 -o $$vmin -lt 80 && \
..just noticed this logic is incomplete. But you get the idea.
//Peter
More information about the coreboot
mailing list