mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
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:
@@ -1,3 +1,3 @@
|
||||
C_FILES += $(C_LIBUSB_RT)
|
||||
|
||||
C_FILES += card_emu.c cciddriver.c iso7816_3.c iso7816_4.c iso7816_fidi.c mitm.c mode_cardemu.c mode_ccid.c simtrace_iso7816.c sniffer.c tc_etu.c usb.c
|
||||
C_FILES += card_emu.c iso7816_3.c iso7816_4.c iso7816_fidi.c mode_cardemu.c simtrace_iso7816.c tc_etu.c usb.c
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
C_FILES += $(C_LIBUSB_RT)
|
||||
|
||||
C_FILES += card_emu.c cciddriver.c iso7816_4.c iso7816_fidi.c mitm.c mode_cardemu.c mode_ccid.c simtrace_iso7816.c sniffer.c tc_etu.c usb.c
|
||||
C_FILES += iso7816_4.c iso7816_fidi.c simtrace_iso7816.c sniffer.c usb.c
|
||||
|
||||
@@ -95,4 +95,7 @@
|
||||
#define CARDEMU_SECOND_UART
|
||||
#define DETECT_VCC_BY_ADC
|
||||
|
||||
/** sysmoQMOD only supports card emulation */
|
||||
#ifdef APPLICATION_cardem
|
||||
#define HAVE_CARDEM
|
||||
#endif
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user