mk: fix external build
authorMarko Kovacevic <marko.kovacevic@intel.com>
Mon, 5 Feb 2018 15:45:31 +0000 (15:45 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 5 Feb 2018 22:39:04 +0000 (23:39 +0100)
commitc36fddd4372305ecf7a25a8417aa720571177a54
treed47b6bef897e25456f422dd7e371f0caa59882c6
parentd98fac4dae3634fedbb6f3d568e71a30ded81dd9
mk: fix external build

Code commit for 'make -f' support, breaks the build in cases where
entries in $(MAKEFILE_LIST) are absolute paths. This commit uses
notdir and firstword to ensure that only the local filename is used.

Fixes: 3a5c339d51a4 ("mk: support renamed Makefile in external project")
Cc: stable@dpdk.org
Signed-off-by: Marko Kovacevic <marko.kovacevic@intel.com>
mk/internal/rte.extvars.mk