mk: support renamed Makefile in external project
authorMarko Kovacevic <marko.kovacevic@intel.com>
Mon, 22 Jan 2018 10:59:05 +0000 (10:59 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 30 Jan 2018 23:43:23 +0000 (00:43 +0100)
commit3a5c339d51a4846ee95a848bf493b7fcc80819dc
treed1a672cba1e2f1374f782a7090672f5041d3e320
parent9f51da4f4e56fbdde6ffa03be4e7433f1b3d9f92
mk: support renamed Makefile in external project

The build system made a recursive call to "make" after
creating the build directory. This recursive call used
the hard-coded filename "Makefile", which prevented
builds from working if the file was renamed and make
called using "make -f". Taking the filename from
MAKEFILES_LIST make variable fixes this.

Fixes: af75078fece3 ("first public release")
Cc: stable@dpdk.org
Signed-off-by: Marko Kovacevic <marko.kovacevic@intel.com>
Acked-by: Vipin Varghese <vipin.varghese@intel.com>
mk/internal/rte.extvars.mk