diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2014-12-15 00:53:01 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-12-15 14:29:28 +0800 |
commit | 0f469b3db7bc085380a7c0d9566cfb665ce408a8 (patch) | |
tree | 998011d7638d672dd57a9b0632952a6f378a3172 | |
parent | 4784863ba26dea6932300422f68779dc313f1d62 (diff) |
Fix the broken out of tree builds
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao, Yakui <yakui.zhao@intel.com>
(cherry picked from commit 5fdfdf40ac95a083459c8a7a40c28d91dcffdea1)
-rw-r--r-- | src/shaders/post_processing/gen9/Makefile.am | 6 | ||||
-rw-r--r-- | src/shaders/render/Makefile.am | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/shaders/post_processing/gen9/Makefile.am b/src/shaders/post_processing/gen9/Makefile.am index 9b94bc5..1e32dff 100644 --- a/src/shaders/post_processing/gen9/Makefile.am +++ b/src/shaders/post_processing/gen9/Makefile.am @@ -1,4 +1,4 @@ -SRCDIR = ../gen8/ +SRCDIR = $(top_srcdir)/src/shaders/post_processing/gen8 VPATH = $(SRCDIR) INTEL_PP_G9B = \ @@ -59,10 +59,10 @@ SUFFIXES = .g9b .g9s .asm $(INTEL_PP_GEN9_ASM): $(INTEL_PP_ASM) $(INTEL_PP_G9A) .asm.g9s: $(AM_V_GEN)cpp $< > _pp0.$@; \ - ../../gpp.py _pp0.$@ $@; \ + $(PYTHON2) $(top_srcdir)/src/shaders/gpp.py _pp0.$@ $@; \ rm _pp0.$@ .g9s.g9b: - $(AM_V_GEN)intel-gen4asm -a -o $@ -g 9 $< + $(AM_V_GEN)$(GEN4ASM) -a -o $@ -g 9 $< CLEANFILES = $(INTEL_PP_GEN9_ASM) diff --git a/src/shaders/render/Makefile.am b/src/shaders/render/Makefile.am index 5fd2b56..eef6108 100644 --- a/src/shaders/render/Makefile.am +++ b/src/shaders/render/Makefile.am @@ -170,7 +170,7 @@ $(INTEL_G8S): $(INTEL_G8A) $(INTEL_G8I) $(INTEL_G9S): $(INTEL_G9A) $(INTEL_G9I) .g9a.g9s: - $(AM_V_GEN)m4 $< > $@ + $(AM_V_GEN)m4 -I$(srcdir) $< > $@ .g9s.g9b: $(AM_V_GEN)$(GEN4ASM) -g 9 -o $@ $< |