mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-04 03:17:51 +00:00
Give MSP430 a separate asmprinter lib
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79012 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1ab7594946
commit
960a7c9ad1
6
lib/Target/MSP430/AsmPrinter/CMakeLists.txt
Normal file
6
lib/Target/MSP430/AsmPrinter/CMakeLists.txt
Normal file
@ -0,0 +1,6 @@
|
||||
include_directories( ${CMAKE_CURRENT_BINARY_DIR}/.. ${CMAKE_CURRENT_SOURCE_DIR}/.. )
|
||||
|
||||
add_llvm_library(LLVMMSP430AsmPrinter
|
||||
MSP430AsmPrinter.cpp
|
||||
)
|
||||
add_dependencies(LLVMMSP430AsmPrinter MSP430CodeGenTable_gen)
|
15
lib/Target/MSP430/AsmPrinter/Makefile
Normal file
15
lib/Target/MSP430/AsmPrinter/Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
##===- lib/Target/MSP430/Makefile --------------------------*- Makefile -*-===##
|
||||
#
|
||||
# The LLVM Compiler Infrastructure
|
||||
#
|
||||
# This file is distributed under the University of Illinois Open Source
|
||||
# License. See LICENSE.TXT for details.
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
LEVEL = ../../../..
|
||||
LIBRARYNAME = LLVMMSP430AsmPrinter
|
||||
|
||||
# Hack: we need to include 'main' MSP430 target directory to grab private headers
|
||||
CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
@ -7,7 +7,7 @@
|
||||
#
|
||||
##===----------------------------------------------------------------------===##
|
||||
LEVEL = ../../..
|
||||
LIBRARYNAME = LLVMMSP430
|
||||
LIBRARYNAME = LLVMMSP430CodeGen
|
||||
TARGET = MSP430
|
||||
|
||||
# Make sure that tblgen is run, first thing.
|
||||
@ -17,7 +17,7 @@ BUILT_SOURCES = MSP430GenRegisterInfo.h.inc MSP430GenRegisterNames.inc \
|
||||
MSP430GenDAGISel.inc MSP430GenCallingConv.inc \
|
||||
MSP430GenSubtarget.inc
|
||||
|
||||
DIRS = TargetInfo
|
||||
DIRS = AsmPrinter TargetInfo
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user