Commit dd8cecfb authored by Alessandro Rubini's avatar Alessandro Rubini

Makefile: update submodule after first checkout; build it too

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 6540e318
DIRS = kernel tools
FMC_DRV ?= $(shell ./check-fmc-bus)
export FMC_DRV
RUNME := $(shell test -d $(FMC_DRV) || git submodule update --init)
DIRS = $(FMC_DRV) kernel tools
all clean modules install modules_install:
for d in $(DIRS); do $(MAKE) -C $$d $@ || exit 1; done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment