diff options
Diffstat (limited to 'scripts/Makefile.build')
| -rw-r--r-- | scripts/Makefile.build | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 458bedea2e7b..707ad9d0353a 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -14,8 +14,13 @@ include $(obj)/Makefile include scripts/Makefile.lib -# Do not include host-progs rules unles needed ifdef host-progs +$(warning kbuild: $(obj)/Makefile - Usage of host-progs is deprecated. Please replace with hostprogs-y!) +hostprogs-y += $(host-progs) +endif + +# Do not include host rules unles needed +ifneq ($(hostprogs-y)$(hostprogs-m),) include scripts/Makefile.host endif |
