mirror of https://github.com/wolfSSL/wolfBoot.git
ELF: allow turning off DEBUG_ELF if DEBUG=1
parent
93bedf7333
commit
95ea6659f9
|
@ -34,8 +34,12 @@
|
|||
|
||||
/* support for elf parsing debug printf */
|
||||
#if defined(DEBUG) || defined(ELF_PARSER)
|
||||
#if DEBUG_ELF == 0
|
||||
#undef DEBUG_ELF
|
||||
#else
|
||||
#define DEBUG_ELF
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* support byte swapping if testing/reading an elf with different endianess */
|
||||
#if defined(ELF_PARSER) || defined(ELF_ENDIAN_SUPPORT)
|
||||
|
|
Loading…
Reference in New Issue