[test-suite] r202382 - XCore target: only build timeit-target if USER_MODE_EMULATION not defined

Robert Lytton robert at xmos.com
Thu Feb 27 04:45:00 PST 2014


Author: rlytton
Date: Thu Feb 27 06:45:00 2014
New Revision: 202382

URL: http://llvm.org/viewvc/llvm-project?rev=202382&view=rev
Log:
XCore target: only build timeit-target if USER_MODE_EMULATION not defined

Modified:
    test-suite/trunk/tools/Makefile

Modified: test-suite/trunk/tools/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/tools/Makefile?rev=202382&r1=202381&r2=202382&view=diff
==============================================================================
--- test-suite/trunk/tools/Makefile (original)
+++ test-suite/trunk/tools/Makefile Thu Feb 27 06:45:00 2014
@@ -1,7 +1,12 @@
 LEVEL=..
 include $(LEVEL)/Makefile.programs
 
-all:: timeit timeit-target fpcmp TargetConfig.mk
+all:: timeit fpcmp TargetConfig.mk
+
+# Avoid depending on timeit-target if it is not needed, some targets that use emulation cannot build it.
+ifndef USER_MODE_EMULATION
+all:: timeit-target
+endif
 
 timeit: timeit.c
 	$(ORIGINAL_CC) $(CFLAGS) -O3 -o $@ $<





More information about the llvm-commits mailing list