make: only compile source for corresponding app

since simtrace supports multiple application, but currently not
at the same time, the feature support is not app specific

Change-Id: I98ff92450cc2a247b294d2e15df171f3fe7c5156
This commit is contained in:
Kévin Redon
2019-06-13 16:34:51 +02:00
parent 0cbe9a4fb6
commit e3d516745d
4 changed files with 13 additions and 2 deletions

View File

@@ -138,10 +138,18 @@
/** Supported modes */
/* SIMtrace board supports sniffer mode */
#ifdef APPLICATION_trace
#define HAVE_SNIFFER
#endif
/* SIMtrace board supports CCID mode */
#ifdef APPLICATION_ccid
//#define HAVE_CCID
#endif
/* SIMtrace board supports card emulation mode */
#ifdef APPLICATION_cardem
//#define HAVE_CARDEM
#endif
/* SIMtrace board supports man-in-the-middle mode */
#ifdef APPLICATION_mitm
//#define HAVE_MITM
#endif