This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
(toplevel patch) Addendum to patch: Real make targets for configure-target-*
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: gcc-patches at gcc dot gnu dot org, gdb-patches at sources dot redhat dot com, binutils at sources dot redhat dot com, dj at redhat dot com
- Date: Tue, 3 Dec 2002 11:41:37 -0500
- Subject: (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