Commit 21481fef authored by Cedric Roux's avatar Cedric Roux

compilation warning "jobserver unavailable" removal

This commit emoves the warning:
make[4]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.

Basically, inside a Makefile we should use $(MAKE) instead of make.
parent fd8eb46c
...@@ -1880,9 +1880,9 @@ endif (${T_TRACER}) ...@@ -1880,9 +1880,9 @@ endif (${T_TRACER})
#This rule and the following deal with it. #This rule and the following deal with it.
add_custom_command ( add_custom_command (
OUTPUT ${OPENAIR_DIR}/common/utils/T/T_IDs.h OUTPUT ${OPENAIR_DIR}/common/utils/T/T_IDs.h
COMMAND make clean COMMAND $(MAKE) clean
COMMAND make COMMAND $(MAKE)
COMMAND make check_vcd COMMAND $(MAKE) check_vcd
WORKING_DIRECTORY ${OPENAIR_DIR}/common/utils/T WORKING_DIRECTORY ${OPENAIR_DIR}/common/utils/T
DEPENDS ${OPENAIR_DIR}/common/utils/T/T_messages.txt DEPENDS ${OPENAIR_DIR}/common/utils/T/T_messages.txt
${OPENAIR_DIR}/common/utils/LOG/vcd_signal_dumper.c ${OPENAIR_DIR}/common/utils/LOG/vcd_signal_dumper.c
...@@ -2235,7 +2235,7 @@ function(make_driver name dir) ...@@ -2235,7 +2235,7 @@ function(make_driver name dir)
endforeach() endforeach()
CONFIGURE_FILE(${OPENAIR_CMAKE}/tools/Kbuild.cmake ${OPENAIR_BIN_DIR}/${name}/Kbuild) CONFIGURE_FILE(${OPENAIR_CMAKE}/tools/Kbuild.cmake ${OPENAIR_BIN_DIR}/${name}/Kbuild)
add_custom_command(OUTPUT ${name}.ko add_custom_command(OUTPUT ${name}.ko
COMMAND make -C ${module_build_path} M=${OPENAIR_BIN_DIR}/${name} COMMAND $(MAKE) -C ${module_build_path} M=${OPENAIR_BIN_DIR}/${name}
WORKING_DIRECTORY ${OPENAIR_BIN_DIR}/${name} WORKING_DIRECTORY ${OPENAIR_BIN_DIR}/${name}
COMMENT "building ${module}.ko" COMMENT "building ${module}.ko"
VERBATIM VERBATIM
......
...@@ -27,4 +27,4 @@ check_vcd: ...@@ -27,4 +27,4 @@ check_vcd:
clean: clean:
rm -f *.o $(GENIDS) core T_IDs.h T_messages.txt.h _check_vcd rm -f *.o $(GENIDS) core T_IDs.h T_messages.txt.h _check_vcd
cd tracer && make clean cd tracer && $(MAKE) clean
...@@ -63,16 +63,16 @@ multi: multi.o utils.o database.o config.o ...@@ -63,16 +63,16 @@ multi: multi.o utils.o database.o config.o
.PHONY: all gui/gui.a view/view.a logger/logger.a filter/filter.a .PHONY: all gui/gui.a view/view.a logger/logger.a filter/filter.a
gui/gui.a: gui/gui.a:
cd gui && make cd gui && $(MAKE)
view/view.a: view/view.a:
cd view && make cd view && $(MAKE)
logger/logger.a: logger/logger.a:
cd logger && make cd logger && $(MAKE)
filter/filter.a: filter/filter.a:
cd filter && make cd filter && $(MAKE)
%.o: %.c %.o: %.c
$(CC) $(CFLAGS) -c -o $@ $< $(CC) $(CFLAGS) -c -o $@ $<
...@@ -81,8 +81,8 @@ clean: ...@@ -81,8 +81,8 @@ clean:
rm -f *.o core tracer_remote textlog enb ue vcd record replay rm -f *.o core tracer_remote textlog enb ue vcd record replay
rm -f extract_config macpdu2wireshark extract_input_subframe rm -f extract_config macpdu2wireshark extract_input_subframe
rm -f extract_output_subframe to_vcd extract multi rm -f extract_output_subframe to_vcd extract multi
cd gui && make clean cd gui && $(MAKE) clean
cd view && make clean cd view && $(MAKE) clean
cd logger && make clean cd logger && $(MAKE) clean
cd filter && make clean cd filter && $(MAKE) clean
cd hacks && make clean cd hacks && $(MAKE) clean
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