kernel_dir

Name

kernel_dir  --  set the path to the kernel source directory

Synopsis

kernel_dir {directory}

Description

kernel_dir creates a make variable containing the kernel source directory.

The kernel(3) function calls kernel_dir, so you usually do not need to call it.

Example

Use the kernel source code in os/linux:

    kernel_dir os/linux
    

See Also

kernel(3)