aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tests/x86_emulator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tests/x86_emulator/Makefile')
-rw-r--r--tools/tests/x86_emulator/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/tests/x86_emulator/Makefile b/tools/tests/x86_emulator/Makefile
index 9c9739f329..fa76e24fa1 100644
--- a/tools/tests/x86_emulator/Makefile
+++ b/tools/tests/x86_emulator/Makefile
@@ -37,8 +37,10 @@ install:
x86_emulate:
[ -L x86_emulate ] || ln -sf $(XEN_ROOT)/xen/arch/x86/x86_emulate .
+HOSTCFLAGS += $(CFLAGS_xeninclude)
+
x86_emulate.o: x86_emulate.c x86_emulate
- $(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
+ $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
test_x86_emulator.o: test_x86_emulator.c blowfish.h x86_emulate
- $(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
+ $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<