about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-09-28 14:48:17 -0700
committerRoland McGrath <roland@hack.frob.com>2012-09-28 14:48:17 -0700
commit848917f9ee60e08638c67bcb590ed4b4c4186b0b (patch)
treef5ddda922b492b022151c4a25f67239d80e4cd2f
parent6bacf05bfde0816659d6d7f73c063571633b8f6a (diff)
downloadglibc-848917f9ee60e08638c67bcb590ed4b4c4186b0b.tar.gz
glibc-848917f9ee60e08638c67bcb590ed4b4c4186b0b.tar.xz
glibc-848917f9ee60e08638c67bcb590ed4b4c4186b0b.zip
Add a missing $(make-target-directory).
-rw-r--r--ChangeLog2
-rw-r--r--posix/Makefile1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d3e6acfd9d..fa7d734eeb 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 a4741849e5..182c1208dc 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 $@