From 3984195251ab90b2479a485ecb9017c67a3d6843 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 6 Mar 2016 14:42:20 -0500 Subject: driver: added context initialization for --silent. --- include/slibtool/slibtool.h | 1 + src/driver/slbt_driver_ctx.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h index 0b62be5..cb1a71f 100644 --- a/include/slibtool/slibtool.h +++ b/include/slibtool/slibtool.h @@ -39,6 +39,7 @@ extern "C" { #define SLBT_DRIVER_DEBUG 0x0080 #define SLBT_DRIVER_FEATURES 0x0100 #define SLBT_DRIVER_DEPS 0x0200 +#define SLBT_DRIVER_SILENT 0x0400 /* execution modes */ enum slbt_mode { diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 0e07c12..e29d9ed 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -190,6 +190,9 @@ int slbt_get_driver_ctx( cctx.drvflags |= SLBT_DRIVER_DEPS; break; + case TAG_SILENT: + cctx.drvflags |= SLBT_DRIVER_SILENT; + break; } } else nunits++; -- cgit v1.2.3