mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 17:02:03 +00:00
Don't always build CBackend and Skeleton. Make use of the TARGETS_TO_BUILD
parameter instead which will correctly list the set of targets to be built. llvm-svn: 21451
This commit is contained in:
parent
868f3fb2e0
commit
05a3a32d50
@ -15,8 +15,18 @@ TOOLNAME = llc
|
||||
# early so we can set up USEDLIBS properly before includeing Makefile.rules
|
||||
include $(LEVEL)/Makefile.config
|
||||
|
||||
# We always build the C Backend and the Skeleton
|
||||
USEDLIBS := LLVMCBackend LLVMSkeleton
|
||||
# Initialize the USEDLIBS so we can add to it
|
||||
USEDLIBS :=
|
||||
|
||||
# Check for LLVMCBackend target
|
||||
ifneq ($(strip $(filter CBackend,$(TARGETS_TO_BUILD))),)
|
||||
USEDLIB += LLVMCBackend
|
||||
endif
|
||||
|
||||
# Check for Skeleton target
|
||||
ifneq ($(strip $(filter Skeleton,$(TARGETS_TO_BUILD))),)
|
||||
USEDLIB += LLVMSkeleton
|
||||
endif
|
||||
|
||||
# Check for Sparc target
|
||||
ifneq ($(strip $(filter SparcV8,$(TARGETS_TO_BUILD))),)
|
||||
|
Loading…
Reference in New Issue
Block a user