aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rules5
-rw-r--r--mach/Makefile6
2 files changed, 6 insertions, 5 deletions
diff --git a/Rules b/Rules
index f74cc64dfa..c2b3f79016 100644
--- a/Rules
+++ b/Rules
@@ -177,11 +177,6 @@ subdir_install: install-no-libc.a lib-noranlib stubs
subdir_TAGS: TAGS
subdir_dist: dist
-# Convenient target to update all the generated source files.
-.PHONY: generated
-generated: $(addprefix $(common-objpfx),$(common-generated)) \
- $(addprefix $(objpfx),$(generated))
-
# Target required by the Hurd to ensure that all the MiG-generated
# headers are in place before building a subdirectory.
.PHONY: before-compile
diff --git a/mach/Makefile b/mach/Makefile
index cf274ceebb..db7f3aa628 100644
--- a/mach/Makefile
+++ b/mach/Makefile
@@ -166,3 +166,9 @@ $(objpfx)errsystems.c: errsystems.awk err_*.sub \
$(wildcard $(addsuffix /err_*.sub,$(+sysdep_dirs)))
$(AWK) -v subsys='$(filter-out $<,$^)' -f $^ > $@.n
mv -f $@.n $@
+
+
+# Convenient target to update all the generated source files.
+.PHONY: generated
+generated: $(addprefix $(common-objpfx),$(common-generated)) \
+ $(addprefix $(objpfx),$(generated))