summaryrefslogtreecommitdiff
path: root/sysdeps/mach/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-10-09 20:01:19 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-10-09 20:01:19 +0200
commit3896c5809b49e72fbadc57da2189ff42aa2a5d02 (patch)
tree976132226affe5ff11686d86d01d059aa5eabc6c /sysdeps/mach/Makefile
parent52c6cb0bba348bf5f25ff2a213e04c0f3fc378aa (diff)
parent4dc1e6e42f1f602e1d2227e112f2db8dce9da763 (diff)
Merge commit 'refs/top-bases/t/hurdsig-boot-fix' into t/hurdsig-boot-fix
Diffstat (limited to 'sysdeps/mach/Makefile')
-rw-r--r--sysdeps/mach/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/mach/Makefile b/sysdeps/mach/Makefile
index b47cdc6b33..7d8c67c316 100644
--- a/sysdeps/mach/Makefile
+++ b/sysdeps/mach/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1993-2015 Free Software Foundation, Inc.
+# Copyright (C) 1993-2016 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@ -42,8 +42,10 @@ mach-before-compile := $(mach-objpfx)mach-shortcuts.h \
ifneq (mach,$(subdir))
# This patsubst generates patterns like `m%h-shortcuts.h', which are damn
# likely to match just the corresponding particular file we want.
-$(patsubst mach%,m\%h%,$(mach-before-compile)): # Run only if doesn't exist.
- $(MAKE) -C $(..)mach mach-before-compile no_deps=t generating=t
+$(patsubst mach%,m\%h%,$(mach-before-compile)): mach-before-compile # Run only if doesn't exist.
+.PHONY: mach-before-compile
+mach-before-compile:
+ $(MAKE) -C $(..)mach subdir=mach mach-before-compile no_deps=t generating=t
before-compile += $(mach-before-compile)
endif