firasuke / cross / slibtool

Forked from cross/slibtool 6 months ago
Clone

25956b driver: added context initialization for --verbose.

Authored and Committed by midipix 9 years ago
    driver: added context initialization for --verbose.
    
        
file modified
+1 -0
include/slibtool/slibtool.h CHANGED
@@ -40,6 +40,7 @@ extern "C" {
40
40
#define SLBT_DRIVER_FEATURES 0x0100
41
41
#define SLBT_DRIVER_DEPS 0x0200
42
42
#define SLBT_DRIVER_SILENT 0x0400
43
+ #define SLBT_DRIVER_VERBOSE 0x0800
43
44
44
45
/* execution modes */
45
46
enum slbt_mode {
file modified
+4 -0
src/driver/slbt_driver_ctx.c CHANGED
@@ -193,6 +193,10 @@ int slbt_get_driver_ctx(
193
193
case TAG_SILENT:
194
194
cctx.drvflags |= SLBT_DRIVER_SILENT;
195
195
break;
196
+
197
+ case TAG_VERBOSE:
198
+ cctx.drvflags |= SLBT_DRIVER_VERBOSE;
199
+ break;
196
200
}
197
201
} else
198
202
nunits++;