zephyr/samples/application_development
Marc Herbert d8c5c9dcf1 samples/**/external_lib: invoke $(MAKE) instead of make
Recursive make should be invoked as $(MAKE) and not "make" for reasons
documented at
 https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html

$(MAKE) is what CMake puts in all the CMakeFiles/Makefile2 it generates,
it doesn't use "make" either.

Issue found thanks to the following warning:
 build.log:make[4]: warning: jobserver unavailable: using -j1.
                    Add '+' to parent make rule.

If CMake is invoked with -GNinja or other then fall back on "make" as
before and pray that it's available.

Fast reproduction with:
   make -j2 -C build clean mylib_project VERBOSE=1

Build directories have been compared before/after this change and
there's zero difference except the generated
mylib_project.dir/build.make file (and the warning above) when using
make.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2019-07-02 10:36:52 -05:00
..
code_relocation cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
external_lib samples/**/external_lib: invoke $(MAKE) instead of make 2019-07-02 10:36:52 -05:00
out_of_tree_board cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
application_development.rst