summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-07-06 12:00:52 +0200
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-07-21 11:13:08 +0800
commitb27776f498c23787629a229f5d9c07eb3b383333 (patch)
tree620d6460ea59fcb04acd2bd276e7289f7b5d355a
parent618968c3dc88b16b079061066c5772754ebeaa26 (diff)
Fix gen4asm rule to work with a build dir
(cherry picked from commit d61182511b1520b04133d28480e1ffaacbaeb753)
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 9dd9b378..45f8b19a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -185,7 +185,7 @@ if HAVE_GEN4ASM
SUFFIXES = .g4a .g4b
.g4a.g4b:
- m4 -s $*.g4a > $*.g4m && intel-gen4asm -o $@ $*.g4m && rm $*.g4m
+ m4 -I$(srcdir) -s $< > $*.g4m && intel-gen4asm -o $@ $*.g4m && rm $*.g4m
$(INTEL_G4B): $(INTEL_G4I)