mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
18969fbc9f
commit
dadc96f07a
@ -15,8 +15,18 @@ TOOLNAME = llc
|
|||||||
# early so we can set up USEDLIBS properly before includeing Makefile.rules
|
# early so we can set up USEDLIBS properly before includeing Makefile.rules
|
||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
# We always build the C Backend and the Skeleton
|
# Initialize the USEDLIBS so we can add to it
|
||||||
USEDLIBS := LLVMCBackend LLVMSkeleton
|
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
|
# Check for Sparc target
|
||||||
ifneq ($(strip $(filter SparcV8,$(TARGETS_TO_BUILD))),)
|
ifneq ($(strip $(filter SparcV8,$(TARGETS_TO_BUILD))),)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user