(toplevel patch) Addendum to patch: Real make targets for configure-target-*
Nathanael Nerode
neroden@twcny.rr.com
Tue Dec 3 08:42:00 GMT 2002
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
More information about the Gcc-patches
mailing list