diff options
-rw-r--r-- | include/slibtool/slibtool.h | 1 | ||||
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index edc24e5..0b62be5 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -38,6 +38,7 @@ extern "C" { #define SLBT_DRIVER_CONFIG 0x0040 #define SLBT_DRIVER_DEBUG 0x0080 #define SLBT_DRIVER_FEATURES 0x0100 +#define SLBT_DRIVER_DEPS 0x0200 /* execution modes */ enum slbt_mode { diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 319678b..0e07c12 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -185,6 +185,11 @@ int slbt_get_driver_ctx( else if (!strcmp("none",entry->arg)) cctx.tag = SLBT_WARNING_LEVEL_NONE; break; + + case TAG_DEPS: + cctx.drvflags |= SLBT_DRIVER_DEPS; + break; + } } else nunits++; |