make SparcV8 and V9 seperately configurable
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 8 Jun 2005 22:32:51 +0000 (22:32 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 8 Jun 2005 22:32:51 +0000 (22:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22204 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llc/Makefile

index 1e5036700648bee5376c2902175c281f2cd2f8d5..82d6b991d2206215d17f7507f34f7a5c8d995f3c 100644 (file)
@@ -29,16 +29,20 @@ USEDLIB += LLVMSkeleton
 endif
 
 # Check for Sparc target
-ifneq ($(strip $(filter SparcV8,$(TARGETS_TO_BUILD))),)
+ifneq ($(strip $(filter SparcV9,$(TARGETS_TO_BUILD))),)
 USEDLIBS += \
        LLVMSparcV9ModuloSched \
-       LLVMSparcV8 \
        LLVMSparcV9 \
        LLVMSparcV9RegAlloc \
        LLVMSparcV9InstrSched \
        LLVMSparcV9LiveVar
 endif
 
+ifneq ($(strip $(filter SparcV8,$(TARGETS_TO_BUILD))),)
+USEDLIBS += LLVMSparcV8
+endif
+
+
 #Check for X86 Target
 ifneq ($(strip $(filter X86,$(TARGETS_TO_BUILD))),)
 USEDLIBS += LLVMX86