Commit c48d2b0b authored by Oliver Horst's avatar Oliver Horst
Browse files

[chg] Tell CMake which machine (TOKI_MACHINE) and OS (TOKI_OS) we're building for

parent e4a2d9c8
......@@ -27,6 +27,9 @@ python do_populate_site_file () {
build_params = app_build_params(d)
build_params.append( ( "TOKI_MACHINE", "${MACHINE}" ) )
build_params.append( ( "TOKI_OS", "${TOKI_OS}" ) )
if len(build_params) > 0:
filename = "{}/site-file.cmake".format(d.getVar('WORKDIR'))
mode = 'w'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment