This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

(toplevel patch) Addendum to patch: Real make targets for configure-target-*


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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]