summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 9312926161fe..c48adfe03a73 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -15,9 +15,11 @@ include $(obj)/Makefile
include scripts/Makefile.lib
ifdef host-progs
+ifneq ($(hostprogs-y),$(host-progs))
$(warning kbuild: $(obj)/Makefile - Usage of host-progs is deprecated. Please replace with hostprogs-y!)
hostprogs-y += $(host-progs)
endif
+endif
# Do not include host rules unles needed
ifneq ($(hostprogs-y)$(hostprogs-m),)