firasuke / cross / slibtool

Forked from cross/slibtool 7 months ago
Clone

d03fbc driver: added context initialization for --features.

Authored and Committed by midipix 9 years ago
    driver: added context initialization for --features.
    
        
file modified
+1 -0
include/slibtool/slibtool.h CHANGED
@@ -37,6 +37,7 @@ extern "C" {
37
37
#define SLBT_DRIVER_DRY_RUN 0x0020
38
38
#define SLBT_DRIVER_CONFIG 0x0040
39
39
#define SLBT_DRIVER_DEBUG 0x0080
40
+ #define SLBT_DRIVER_FEATURES 0x0100
40
41
41
42
/* execution modes */
42
43
enum slbt_mode {
file modified
+4 -0
src/driver/slbt_driver_ctx.c CHANGED
@@ -170,6 +170,10 @@ int slbt_get_driver_ctx(
170
170
case TAG_DEBUG:
171
171
cctx.drvflags |= SLBT_DRIVER_DEBUG;
172
172
break;
173
+
174
+ case TAG_FEATURES:
175
+ cctx.drvflags |= SLBT_DRIVER_FEATURES;
176
+ break;
173
177
}
174
178
} else
175
179
nunits++;