• Alessandro Rubini's avatar
    Makefile: three fixes · 5433fa2f
    Alessandro Rubini authored
    I'd better set CROSS_COMPILE in the environment than change my path,
    so CROSS_COMPILE is conditionally assigned.
    The revision is better "git describe --dirty" than "git rev-parse". The output
    is a short beautiful string like "wrpc-v2.0-13-g09a736d5"
    with an optional "-dirty" trailer, to show we compiled a non-committed
    Finally, to execute commands we dont $(shell) at toplevel, but have
    them in the build rule.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
Makefile 3.02 KB