Commit 285f036a authored by Adam Wujek's avatar Adam Wujek 💬

Makefile: remove loop

This allows parallel build.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 17dd65ce
......@@ -10,7 +10,18 @@ RUNME := $(shell test -d $(FMC_BUS) || git submodule update --init)
DIRS = $(FMC_BUS) kernel tools
all clean modules install modules_install:
for d in $(DIRS); do $(MAKE) -C $$d $@ || exit 1; done
.PHONY: all clean modules install modules_install $(DIRS)
all clean modules install modules_install: $(DIRS)
clean: TARGET = clean
modules: TARGET = modules
install: TARGET = install
modules_install: TARGET = modules_install
$(DIRS):
$(MAKE) -C $@ $(TARGET)
kernel: $(FMC_BUS)
include scripts/gateware.mk
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