• 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
    change.
    
    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>
    5433fa2f
Name
Last commit
Last update
arch/lm32 Loading commit data...
boards Loading commit data...
dev Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
monitor Loading commit data...
ptp-noposix @ 303c8360
scripts Loading commit data...
shell Loading commit data...
sockitowm Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
Makefile Loading commit data...
wrc_main.c Loading commit data...
wrc_ptp.c Loading commit data...
wrc_ptp.h Loading commit data...