Fix build for less common build directories names
commit630b210b9abbf362905a2096c22c5eb1d6224e77
authorStefan Weil <sw@weilnetz.de>
Thu, 13 Oct 2016 18:29:30 +0000 (13 20:29 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 28 Oct 2016 15:17:24 +0000 (28 18:17 +0300)
treecc2534beef2749611e13aaba2731821358bcb459
parent814bb12a561d36aeb5ae4440ad43d2b0761d76da
Fix build for less common build directories names

scripts/tracetool generates a C preprocessor macro from the name of the
build directory. Any characters which are possible in a directory name
but not allowed in a macro name must be substituted, otherwise builds
will fail.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
scripts/tracetool.py