• Sam Ravnborg's avatar
    kbuild: Introduce hostprogs-y, deprecate host-progs · 113b88ae
    Sam Ravnborg authored
    Introducing hostprogs-y allows a user to use the typical Kbuild
    pattern in a Kbuild file:
    hostprogs-$(CONFIG_KALLSYMS) += ...
    
    And then during cleaning the referenced file are still deleted.
    Deprecate the old host-progs assignment but kept the functionlity.
    
    External modules will continue to use host-progs for a while - drawback is
    that they now see a warning.
    Workaround - just assign both variables:
    hostprogs-y := foo
    host-progs  := $(hostprogs-y)
    
    All in-kernel users will be converted in next patch.
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    113b88ae
Makefile.clean 2.51 KB