Older git doesn't have '-C'. Signed-off-by: Andrew Jones <drjones@xxxxxxxxxx> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 17d91c8ccf0ed..933b9f0f7ac6f 100644 --- a/Makefile +++ b/Makefile @@ -91,7 +91,7 @@ directories: -include */.*.d */*/.*.d -all: directories $(shell git -C $(SRCDIR) rev-parse --verify --short=8 HEAD >build-head 2>/dev/null) +all: directories $(shell cd $(SRCDIR) && git rev-parse --verify --short=8 HEAD >$(PWD)/build-head 2>/dev/null) standalone: all @scripts/mkstandalone.sh -- 1.8.3.1