diff options
author | Sasha Levin <levinsasha928@gmail.com> | 2011-11-02 07:41:13 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-06-01 16:39:48 +0100 |
commit | 1664498d4a7d0c795ca5f590c61f9494ecd5e5f8 (patch) | |
tree | a4dac12e90d3ac72efb99b6554d93b0974ced27f /Makefile | |
parent | fb434ac34166767815b17b53967bd0afe1157caf (diff) | |
download | kvmtool-1664498d4a7d0c795ca5f590c61f9494ecd5e5f8.tar.gz |
kvm tools: Add aio read write functions
This patch adds basic native vectored AIO functions.
These functions should be optimized to process multiple io
requests at once.
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -115,6 +115,13 @@ ifeq ($(has_ZLIB),y) LIBS += -lz endif +FLAGS_AIO := $(CFLAGS) -laio +has_AIO := $(call try-cc,$(SOURCE_AIO),$(FLAGS_AIO)) +ifeq ($(has_AIO),y) + CFLAGS += -DCONFIG_HAS_AIO + LIBS += -laio +endif + DEPS := $(patsubst %.o,%.d,$(OBJS)) # Exclude BIOS object files from header dependencies. |