Commit 48acbb74 authored by Adam Wujek's avatar Adam Wujek 💬

Makefile: remove loop

This allows parallel build.
Signed-off-by: Adam Wujek's avatarAdam Wujek <>
parent 572a7877
......@@ -13,5 +13,16 @@ RUNME := $(shell test -d $(FMC_DRV) || 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
$(MAKE) -C $@ $(TARGET)
kernel: $(FMC_BUS)
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