summaryrefslogtreecommitdiff
path: root/package/pkg-autotargets.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/pkg-autotargets.mk')
-rw-r--r--package/pkg-autotargets.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pkg-autotargets.mk b/package/pkg-autotargets.mk
index c9887c2e1..d31230dd7 100644
--- a/package/pkg-autotargets.mk
+++ b/package/pkg-autotargets.mk
@@ -201,7 +201,7 @@ endef
# This must be repeated from GENTARGETS_INNER, otherwise we get an empty
# _DEPENDENCIES if _AUTORECONF is YES. Also filter the result of _AUTORECONF
# away from the non-host rule
-$(2)_DEPENDENCIES ?= $(filter-out host-automake host-autoconf host-libtool,\
+$(2)_DEPENDENCIES ?= $(filter-out host-automake host-autoconf host-libtool $(1),\
$(patsubst host-host-%,host-%,$(addprefix host-,$($(3)_DEPENDENCIES))))