summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/slibtool/slibtool.h1
-rw-r--r--src/driver/slbt_driver_ctx.c4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index fa808b9..7f48fdd 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -37,6 +37,7 @@ extern "C" {
#define SLBT_DRIVER_DRY_RUN 0x0020
#define SLBT_DRIVER_CONFIG 0x0040
#define SLBT_DRIVER_DEBUG 0x0080
+#define SLBT_DRIVER_FEATURES 0x0100
/* execution modes */
enum slbt_mode {
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 16f9687..53cbcf8 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -170,6 +170,10 @@ int slbt_get_driver_ctx(
case TAG_DEBUG:
cctx.drvflags |= SLBT_DRIVER_DEBUG;
break;
+
+ case TAG_FEATURES:
+ cctx.drvflags |= SLBT_DRIVER_FEATURES;
+ break;
}
} else
nunits++;