top_dir
Name
top_dir
-- set the path to the top directory
Synopsis
top_dir [directory]
Description
top_dir creates a make variable containing the
top directory of the build tree.
The core(3)
function calls top_dir, so you usually do not
need to call it.
Options
- directory
The top directory of the build tree. Default is the
current working directory.
Example
Use current working directory as the top directory of the build tree:
top_dir