kbuild: Introduce hostprogs-y, deprecate host-progs
authorSam Ravnborg <sam@mars.ravnborg.org>
Tue, 10 Aug 2004 23:38:42 +0000 (01:38 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Tue, 10 Aug 2004 23:38:42 +0000 (01:38 +0200)
commit113b88ae284c577e332db1d6e6519355b8ca009a
tree36de50164d15e15ad96d36bcd24d64d34c6bc040
parent9c1bfb5fc7a096f137476b2a6787d7e00b02d777
kbuild: Introduce hostprogs-y, deprecate host-progs

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: Sam Ravnborg <sam@ravnborg.org>
Documentation/kbuild/makefiles.txt
scripts/Makefile.build
scripts/Makefile.clean
scripts/Makefile.host