Skip to content

Commit 15200fc

Browse files
author
philmoz
committed
Create CMake variable for radio type.
1 parent 064873e commit 15200fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

radio/src/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ string(TOUPPER ${FLAVOUR} RADIO_NAME)
104104
string(REPLACE "+" "P" RADIO_NAME ${RADIO_NAME})
105105
string(CONCAT RADIO_NAME "RADIO_" ${RADIO_NAME})
106106
add_definitions(-D${RADIO_NAME})
107+
set(${RADIO_NAME} YES)
107108

108109
set(HW_DESC_JSON ${FLAVOUR}.json)
109110
AddHardwareDefTarget(${HW_DESC_JSON})

0 commit comments

Comments
 (0)