• Sam Ravnborg's avatar
    kbuild: Use targets := to tell kbuild about additional targets · 0be6a9a0
    Sam Ravnborg authored
    EXTRA_TARGETS served several purposes before:
    1) List targets to be build (built-in only)
    2) Inform kbuild of targets within the makefile
    
    Mixing the above are causing confusion, so for now on
    targets :=
    is used to inform kbuild about targets in a Makefile - that it otherwise
    did not know about.
    
    kbuild uses the "targets :=" information to:
    a) read the dependency file .target.cmd
    b) delete the target file during make clean
    0be6a9a0
Makefile 2.03 KB