]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
tools: eliminate LIBXL_BLKTAP2
authorWei Liu <wei.liu2@citrix.com>
Mon, 4 Sep 2017 13:44:47 +0000 (14:44 +0100)
committerWei Liu <wei.liu2@citrix.com>
Fri, 8 Sep 2017 10:39:46 +0000 (11:39 +0100)
Use CONFIG_BLKTAP2 directly. There is no reason why one would want to
set LIBXL_BLKTAP2 separately as things stand.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
tools/Rules.mk
tools/libxl/Makefile

index 4592601db162c86d93e2929c2eacfa6d0d3149d5..dbc76351123e258da9df22a07cc0ca71afe2e80e 100644 (file)
@@ -163,9 +163,7 @@ else
 CFLAGS += -O2 -fomit-frame-pointer
 endif
 
-LIBXL_BLKTAP ?= $(CONFIG_BLKTAP2)
-
-ifeq ($(LIBXL_BLKTAP),y)
+ifeq ($(CONFIG_BLKTAP2),y)
 CFLAGS_libblktapctl = -I$(XEN_BLKTAP2)/control -I$(XEN_BLKTAP2)/include $(CFLAGS_xeninclude)
 SHDEPS_libblktapctl =
 LDLIBS_libblktapctl = $(SHDEPS_libblktapctl) $(XEN_BLKTAP2)/control/libblktapctl$(libextension)
index 74c70abcf4d3cad07d4271d05acb12436bcedb72..aee0a4c374d0af63fdda393ab0fcb0ee5e3daa98 100644 (file)
@@ -46,7 +46,7 @@ LIBXL_LIBS += $(LIBXL_LIBS-y)
 LIBXLU_LIBS = $(LDLIBS_libxenlight)
 
 LIBXL_OBJS-y = osdeps.o libxl_paths.o libxl_bootloader.o flexarray.o
-ifeq ($(LIBXL_BLKTAP),y)
+ifeq ($(CONFIG_BLKTAP2),y)
 LIBXL_OBJS-y += libxl_blktap2.o
 else
 LIBXL_OBJS-y += libxl_noblktap2.o