diff --git a/include/subdir.mk b/include/subdir.mk index b4edbf8b96c..6908b083758 100644 --- a/include/subdir.mk +++ b/include/subdir.mk @@ -101,7 +101,7 @@ define stampfile .PRECIOUS: $$($(1)/stamp-$(3)) # work around a make bug - $(1)//clean:=$(1)/stamp-$(3)/clean + $(1)//clean+=$(1)/stamp-$(3)/clean $(1)/stamp-$(3)/clean: FORCE @rm -f $$($(1)/stamp-$(3))