Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* (toplevel patch) Addendum to patch: Real make targets for configure-target-*
@ 2002-12-03  8:42 Nathanael Nerode
  0 siblings, 0 replies; only message in thread
From: Nathanael Nerode @ 2002-12-03  8:42 UTC (permalink / raw)
  To: gcc-patches, gdb-patches, binutils, dj

Aargh.  Same mistake that bites me every time.

Consider this an integral part of the previous patch.	

--- Makefile.tpl.older	2002-12-03 11:39:44.000000000 -0500
+++ Makefile.tpl	2002-12-03 11:38:58.000000000 -0500
@@ -933,7 +933,8 @@
 configure-target-[+module+]: $(TARGET_SUBDIR)/[+module+]/Makefile
 
 $(TARGET_SUBDIR)/[+module+]/multilib.out: $(BASE_CC_FOR_TARGET)
-	@r=`${PWD}`; export r; \
+	@[ -d $(TARGET_SUBDIR)/[+module+] ] || mkdir $(TARGET_SUBDIR)/[+module+];\
+	r=`${PWD}`; export r; \
 	echo "Configuring multilibs for [+module+]"; \
 	$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/[+module+]/multilib.out 2> /dev/null
 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-03 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-03  8:42 (toplevel patch) Addendum to patch: Real make targets for configure-target-* Nathanael Nerode

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox