Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-DENABLE_LUAJIT=ON \
-DENABLE_CURSES=OFF \
-DENABLE_LEVELDB=OFF \
- -DENABLE_REDIS=OFF \
-DENABLE_SPATIAL=OFF \
-DAPPLY_LOCALE_BLACKLIST=OFF \
-DENABLE_SYSTEM_GMP=ON \
MINETEST_CONF_OPTS += -DENABLE_FREETYPE=OFF
endif
+ifeq ($(BR2_PACKAGE_HIREDIS),y)
+MINETEST_DEPENDENCIES += hiredis
+MINETEST_CONF_OPTS += -DENABLE_REDIS=ON
+else
+MINETEST_CONF_OPTS += -DENABLE_REDIS=OFF
+endif
+
ifeq ($(BR2_PACKAGE_LIBCURL),y)
MINETEST_DEPENDENCIES += libcurl
MINETEST_CONF_OPTS += -DENABLE_CURL=ON