Merge pull request #863 from jpoimboe/unit-submodule-root-dir

test/unit: run submodule command from base git directory
This commit is contained in:
Joe Lawrence 2018-05-30 14:04:41 -04:00 committed by GitHub
commit b387dffab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ OBJDIR ?= objs/$(ARCH)
.PHONY: all clean
all: Makefile.include
git submodule update --init --rebase
cd $(shell git rev-parse --show-toplevel) && git submodule update --init --rebase
$(MAKE) -C $(OBJDIR)
clean: Makefile.include