install_target

Name

install_target  --  create the install target

Synopsis

install_target

Description

install_target creates the install target. The files target is a prerequisite of the install target and if make_rules(3) is also called, the commands of the files target will be executed when subdirs has been recursed.

If kernel(3) is called after install_target has been called, a prerequisite will be added to the install target to install kernel modules that has been built by the kernel target.

Caveats

If kernel(3) is called before install_target, no kernel modules in the kernel source tree will be installed by the install target.

Example

Add the install target to the makefile:

    install_target
    

See Also

kernel(3), make_rules(3), prepare_build(3)