aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2021-06-01 17:58:33 +0200
committerHarald Welte <laforge@osmocom.org>2021-06-01 18:38:21 +0200
commit0f75d6ef1e90d899b12a8aea462d9b2fe6890aa3 (patch)
tree844fd06a5eda749b5981ae1499842925f7902f08
parentc690a1f13042c5a1a464cf094b6d304dfb8b6288 (diff)
simtrace board.h: Enable HAVE_CARDEM if we build the cardem firmware
likewise, enable HAVE_SNIFFER currently only if we build the sniffer firmware. It's been many years too long to finally get those all merged in one firmware :( Change-Id: Ib433f180746f75458a44f4988643465bd846b04b
-rw-r--r--firmware/libboard/simtrace/include/board.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/libboard/simtrace/include/board.h b/firmware/libboard/simtrace/include/board.h
index ab1c019..4b6eda2 100644
--- a/firmware/libboard/simtrace/include/board.h
+++ b/firmware/libboard/simtrace/include/board.h
@@ -153,10 +153,14 @@
/** Supported modes */
/* SIMtrace board supports sniffer mode */
+#ifdef APPLICATION_trace
#define HAVE_SNIFFER
+#endif
/* SIMtrace board supports CCID mode */
//#define HAVE_CCID
/* SIMtrace board supports card emulation mode */
-//#define HAVE_CARDEM
+#ifdef APPLICATION_cardem
+#define HAVE_CARDEM
+#endif
/* SIMtrace board supports man-in-the-middle mode */
//#define HAVE_MITM