Introduce T-pro and function switches handling
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
set(STORAGE_CONVERSIONS 219)
|
||||
|
||||
if(PCB STREQUAL X7 AND PCBREV STREQUAL ZORRO)
|
||||
set(STORAGE_CONVERSIONS 221)
|
||||
if(PCB STREQUAL X7)
|
||||
if(PCBREV STREQUAL ZORRO OR PCBREV STREQUAL TPRO)
|
||||
set(STORAGE_CONVERSIONS 221)
|
||||
endif()
|
||||
endif()
|
||||
message("Storage conversion: ${STORAGE_CONVERSIONS}")
|
||||
|
||||
if(STORAGE_CONVERSIONS)
|
||||
add_definitions(-DSTORAGE_CONVERSIONS=${STORAGE_CONVERSIONS})
|
||||
|
||||
Reference in New Issue
Block a user