mk: allow renaming of build directories
authorBruce Richardson <bruce.richardson@intel.com>
Mon, 12 Nov 2018 12:26:15 +0000 (12:26 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 14 Nov 2018 00:46:00 +0000 (01:46 +0100)
commit6927f8dbf3db975cd968287c511122ddccc076bb
treea7d8284d0f1dca035c9c1759fe6a4cbb98887811
parentf98a95102dd3a4bcec8a00188103e8272c9f6204
mk: allow renaming of build directories

When building using make, the Makefile in the build directory contained
the name of the build directory to be passed as an "O=" parameter to
the DPDK SDK makefiles. Unfortunately, this meant that the compilation
would always fail if the build directory was renamed. To remove this
limitation, we can use $(CURDIR) instead of the directory name.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
buildtools/gen-build-mk.sh
mk/rte.sdkconfig.mk