mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Two fixes:
1. Allow building of Intrinsics.gen to work for srcdir != objdir 2. Add a rule for installation of Intrinsics.gen. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26819 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1c636e9d98
commit
1890c87c90
@ -18,7 +18,11 @@ endif
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
||||
$(LEVEL)/include/llvm/Intrinsics.gen: $(LEVEL)/include/llvm/Intrinsics.td $(TBLGEN)
|
||||
GENFILE:=$(PROJ_SRC_ROOT)/include/llvm/Intrinsics.gen
|
||||
|
||||
$(GENFILE): $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.td $(TBLGEN)
|
||||
$(Echo) Building Intrinsics.gen from Intrinsics.td
|
||||
$(Verb) $(TableGen) $< -o $@ -gen-intrinsic
|
||||
|
||||
install-local:: $(GENFILE)
|
||||
$(DataInstall) $(GENFILE) $(PROJ_includedir)/llvm/Intrinsics.gen
|
||||
|
Loading…
Reference in New Issue
Block a user