aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--posix/Makefile1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d3e6acf..fa7d734 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2012-09-28 Roland McGrath <roland@hack.frob.com>
+ * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
+
* nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
Conditionalize target on [libnss_test1.so-version].
diff --git a/posix/Makefile b/posix/Makefile
index a474184..182c120 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -129,6 +129,7 @@ endif
# it will say by examining the system, and write the results in config-name.h.
uname.c: $(objpfx)config-name.h
$(objpfx)config-name.h: $(..)scripts/config-uname.sh $(common-objpfx)config.make
+ $(make-target-directory)
$< '$(config-os)' '$(config-release)' \
'$(config-machine)-$(config-vendor)' > $@.new
mv -f $@.new $@