aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index dbd23ecaec..ef4c8b0aa8 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -74,7 +74,7 @@ preconditions : $(PreConditions)
#------------------------------------------------------------------------
# Make sure the BUILT_SOURCES are built first
#------------------------------------------------------------------------
-$(filter-out clean clean-local,UserTargets):: $(BUILT_SOURCES)
+$(filter-out clean clean-local,$(UserTargets)):: $(BUILT_SOURCES)
clean-local::
ifneq ($(strip $(BUILT_SOURCES)),)