diff options
author | Keir Fraser <keir@xen.org> | 2011-11-16 15:28:55 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2011-11-16 15:28:55 +0000 |
commit | 3e3422bb01fe58333ed0c15894cf3dc8c4a035a2 (patch) | |
tree | c824ea4c727f8448c2a1768ffd0d2a102a96b7d5 /tools/tests/x86_emulator/Makefile | |
parent | 5d6a9065b82eb55556947f41ac6fb3892139de03 (diff) | |
download | xen-3e3422bb01fe58333ed0c15894cf3dc8c4a035a2.tar.gz xen-3e3422bb01fe58333ed0c15894cf3dc8c4a035a2.tar.bz2 xen-3e3422bb01fe58333ed0c15894cf3dc8c4a035a2.zip |
test_x86_emulate: Get public Xen headers via tools/include.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/tests/x86_emulator/Makefile')
-rw-r--r-- | tools/tests/x86_emulator/Makefile | 6 |
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 $@ $< |