Skip to content

Commit 1f4d4ee

Browse files
authoredMay 28, 2018
Merge branch 'develop' into contrib/tools/viewconf
2 parents 5d234e1 + 07ac7ff commit 1f4d4ee

File tree

6 files changed

+10
-382
lines changed

6 files changed

+10
-382
lines changed
 

‎Makefile.include

+2-2
Original file line numberDiff line numberDiff line change
@@ -315,8 +315,8 @@ clean:
315315

316316
distclean:
317317
@for TARG in `ls $(CONTIKI)/arch/platform $(TARGETDIRS)`; do \
318-
echo Running: make TARGET=$$TARG clean; \
319-
make TARGET=$$TARG clean; \
318+
echo Running: $(MAKE) TARGET=$$TARG clean; \
319+
$(MAKE) TARGET=$$TARG clean; \
320320
done
321321

322322
-include $(CONTIKI)/arch/platform/$(TARGET)/Makefile.customrules-$(TARGET)

‎Makefile.tools

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ TUNSLIP6 = $(SERIAL_IO_TOOL_DIR)/tunslip6
1111
SERIAL_DUMP_BIN = $(SERIAL_IO_TOOL_DIR)/serialdump
1212

1313
$(SERIAL_DUMP_BIN): $(SERIAL_IO_TOOL_DIR)/serialdump.c $(SERIAL_IO_TOOL_DEPS)
14-
make -C $(SERIAL_IO_TOOL_DIR) serialdump
14+
$(MAKE) -C $(SERIAL_IO_TOOL_DIR) serialdump
1515

1616
$(TUNSLIP6): $(SERIAL_IO_TOOL_DIR)/tunslip6.c $(SERIAL_IO_TOOL_DEPS)
17-
make -C $(SERIAL_IO_TOOL_DIR) tunslip6
17+
$(MAKE) -C $(SERIAL_IO_TOOL_DIR) tunslip6

‎examples/libs/shell/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ all: $(CONTIKI_PROJECT)
33

44
MODULES += os/services/shell
55
CONTIKI = ../../..
6+
7+
PLATFORMS_EXCLUDE = sky
8+
69
include $(CONTIKI)/Makefile.include

‎tests/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ summary: $(SUMMARIES)
3636
@cat $(SUMMARIES) > $@
3737

3838
%/summary:
39-
@make -C $* summary || true
39+
@$(MAKE) -C $* summary || true
4040

4141
clean:
4242
rm -f $(SUMMARIES) summary

‎tests/Makefile.compile-test

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ get_target_vars = $(wordlist 2,15,$(subst :, ,$1))
4040
define dooneexample
4141
@echo -n Building example $(3): $(1) $(4) for target $(2)
4242
@((cd $(EXAMPLESDIR)/$(1); \
43-
make $(4) TARGET=$(2) clean && make -j $(4) TARGET=$(2) WERROR=1) > \
43+
$(MAKE) $(4) TARGET=$(2) clean && make -j $(4) TARGET=$(2) WERROR=1) > \
4444
/dev/null 2>make.err && \
4545
(echo " -> OK" && printf "%-75s %-40s %-20s TEST OK\n" "$(1)" "$(4)" "$(2)" > $(3)-$(subst /,-,$(1))$(2).testlog) || \
4646
(echo " -> FAIL" && printf "%-75s %-40s %-20s TEST FAIL\n" "$(1)" "$(4)" "$(2)" > $(3)-$(subst /,-,$(1))$(2).testlog ; cat make.err))
@@ -65,4 +65,4 @@ clean:
6565
@rm -f *.testlog summary
6666
@$(foreach example, $(EXAMPLES), \
6767
$(foreach target, $(EXAMPLESTARGETS), \
68-
(cd $(EXAMPLESDIR)/$(example); make TARGET=$(target) clean);))
68+
(cd $(EXAMPLESDIR)/$(example); $(MAKE) TARGET=$(target) clean);))

0 commit comments

Comments
 (0)
Please sign in to comment.