diff options
Diffstat (limited to 'clang/lib/Headers')
| -rw-r--r-- | clang/lib/Headers/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/clang/lib/Headers/Makefile b/clang/lib/Headers/Makefile index 42219c4082b..42ed63c91bf 100644 --- a/clang/lib/Headers/Makefile +++ b/clang/lib/Headers/Makefile @@ -9,7 +9,7 @@ CLANG_LEVEL := ../.. -BUILT_SOURCES = arm_neon.h.inc +BUILT_SOURCES = arm_neon.h.inc aarch64_simd.h.inc TABLEGEN_INC_FILES_COMMON = 1 include $(CLANG_LEVEL)/Makefile @@ -24,11 +24,11 @@ HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*.h)) OBJHEADERS := $(addprefix $(HeaderDir)/, $(HEADERS)) -$(OBJHEADERS): $(HeaderDir)/%.h: $(PROJ_SRC_DIR)/%.h $(HeaderDir)/.dir $(HeaderDir)/arm_neon.h +$(OBJHEADERS): $(HeaderDir)/%.h: $(PROJ_SRC_DIR)/%.h $(HeaderDir)/.dir $(HeaderDir)/arm_neon.h $(HeaderDir)/aarch64_simd.h $(Verb) cp $< $@ $(Echo) Copying $(notdir $<) to build dir -$(HeaderDir)/arm_neon.h: $(BUILT_SOURCES) $(HeaderDir)/.dir +$(HeaderDir)/arm_neon.h: $(HeaderDir)/%: %.inc $(HeaderDir)/.dir $(Verb) cp $< $@ $(Echo) Copying $(notdir $<) to build dir @@ -61,4 +61,5 @@ install-local:: $(INSTHEADERS) $(PROJ_headers)/module.map $(ObjDir)/arm_neon.h.inc.tmp : $(CLANG_LEVEL)/include/clang/Basic/arm_neon.td $(CLANG_TBLGEN) $(ObjDir)/.dir $(Echo) "Building Clang arm_neon.h.inc with tblgen" - $(Verb) $(ClangTableGen) -gen-arm-neon -o $(call SYSPATH, $@) $< + $(Verb) $(ClangTableGen) -gen-arm-neon -o $(call SYSPATH, $@) \ + -I $(PROJ_SRC_DIR)/../../include $< |

