Commit 18fe747d authored by Adam Wujek's avatar Adam Wujek 💬

Makefile: compile liblinux and extest before tools

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent c3ba4824
...@@ -129,7 +129,7 @@ endif ...@@ -129,7 +129,7 @@ endif
all: tools $(OUTPUT).elf $(arch-files-y) all: tools $(OUTPUT).elf $(arch-files-y)
.PRECIOUS: %.elf %.bin .PRECIOUS: %.elf %.bin
.PHONY: all tools clean gitmodules $(PPSI)/ppsi.o .PHONY: all tools clean gitmodules $(PPSI)/ppsi.o extest liblinux
# we need to remove "ptpdump" support for ppsi if RAM size is small and # we need to remove "ptpdump" support for ppsi if RAM size is small and
# we include etherbone # we include etherbone
...@@ -207,6 +207,8 @@ clean: ...@@ -207,6 +207,8 @@ clean:
$(MAKE) -C $(PPSI) clean $(MAKE) -C $(PPSI) clean
$(MAKE) -C sdb-lib clean $(MAKE) -C sdb-lib clean
$(MAKE) -C tools clean $(MAKE) -C tools clean
$(MAKE) -C liblinux clean
$(MAKE) -C liblinux/extest clean
distclean: clean distclean: clean
rm -rf include/config rm -rf include/config
...@@ -217,7 +219,13 @@ distclean: clean ...@@ -217,7 +219,13 @@ distclean: clean
%.o: %.c %.o: %.c
${CC} $(CFLAGS) $(PTPD_CFLAGS) $(INCLUDE_DIR) $(LIB_DIR) -c $*.c -o $@ ${CC} $(CFLAGS) $(PTPD_CFLAGS) $(INCLUDE_DIR) $(LIB_DIR) -c $*.c -o $@
tools: .config gitmodules liblinux:
$(MAKE) -C liblinux
extest:
$(MAKE) -C liblinux/extest
tools: .config gitmodules liblinux extest
$(MAKE) -C tools $(MAKE) -C tools
# if needed, check out the submodules (first time only), so users # if needed, check out the submodules (first time only), so users
......
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