Commit 7b6ab474 authored by Adam Wujek's avatar Adam Wujek 💬

Makefile: remove loop

This allows parallel build.
Signed-off-by: Adam Wujek's avatarAdam Wujek <>
parent bc5d6d49
DIRS = kernel tools
all modules install modules_install:
for d in $(DIRS); do $(MAKE) -C $$d $@ || exit 1; done
.PHONY: all clean modules install modules_install $(DIRS) sdb-lib
all clean modules install modules_install: $(DIRS)
# additionally clean sdb-lib
clean: sdb-lib
clean: TARGET = clean
modules: TARGET = modules
install: TARGET = install
modules_install: TARGET = modules_install
for d in $(DIRS) sdb-lib; do $(MAKE) -C $$d $@ || exit 1; done
$(DIRS) sdb-lib:
$(MAKE) -C $@ $(TARGET)
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