On 21 October 2014 16:35, Joern Rennecke <joern.renne...@embecosm.com> wrote:
> Make can't 'build' check-c++ without rules for check-target-libgomp-c++ /
> check-target-libitm-c++
>
> This patch makes sure that there's at least a dummy rule available.

Sorry - forgot to attach the patch - here it is:
toplevel:

2014-09-15  Joern Rennecke  <joern.renne...@embecosm.com>

        Allow check-c++ to work on avr:
        * Makefile.tpl (check-target-libgomp-c++): Always provide some rule.
        (check-target-libitm-c++): Likewise.
        * Makefile.in: Regenerate.

Index: Makefile.tpl
===================================================================
--- Makefile.tpl        (revision 216243)
+++ Makefile.tpl        (working copy)
@@ -1411,16 +1411,20 @@ TARGET-stage[+id+]-[+prefix+][+module+]
 [+ ENDFOR recursive_targets +]
 [+ ENDFOR target_modules +]
 
-@if target-libgomp
 .PHONY: check-target-libgomp-c++
 check-target-libgomp-c++:
+
+@if target-libgomp
+check-target-libgomp-c++:
        $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
 
 @endif target-libgomp
 
-@if target-libitm
 .PHONY: check-target-libitm-c++
 check-target-libitm-c++:
+
+@if target-libitm
+check-target-libitm-c++:
        $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
 
 @endif target-libitm
Index: Makefile.in
===================================================================
--- Makefile.in (revision 216243)
+++ Makefile.in (working copy)
@@ -45679,16 +45679,20 @@ TARGET-stagefeedback-target-libgomp = $(
 
 
 
-@if target-libgomp
 .PHONY: check-target-libgomp-c++
 check-target-libgomp-c++:
+
+@if target-libgomp
+check-target-libgomp-c++:
        $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
 
 @endif target-libgomp
 
-@if target-libitm
 .PHONY: check-target-libitm-c++
 check-target-libitm-c++:
+
+@if target-libitm
+check-target-libitm-c++:
        $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
 
 @endif target-libitm

Reply via email to