From 25956b76b3b85d88987710d589babc9029f5103d Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 6 Mar 2016 14:44:42 -0500 Subject: driver: added context initialization for --verbose. --- include/slibtool/slibtool.h | 1 + src/driver/slbt_driver_ctx.c | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index cb1a71f..7403234 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -40,6 +40,7 @@ extern "C" { #define SLBT_DRIVER_FEATURES 0x0100 #define SLBT_DRIVER_DEPS 0x0200 #define SLBT_DRIVER_SILENT 0x0400 +#define SLBT_DRIVER_VERBOSE 0x0800 /* execution modes */ enum slbt_mode { diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index e29d9ed..f3e0f68 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -193,6 +193,10 @@ int slbt_get_driver_ctx( case TAG_SILENT: cctx.drvflags |= SLBT_DRIVER_SILENT; break; + + case TAG_VERBOSE: + cctx.drvflags |= SLBT_DRIVER_VERBOSE; + break; } } else nunits++; -- cgit v1.2.3