|
|
|
@ -153,10 +153,11 @@ foreach(NameAndValue ${ConfigContents})
@@ -153,10 +153,11 @@ foreach(NameAndValue ${ConfigContents})
|
|
|
|
|
# Find variable name |
|
|
|
|
string(REGEX MATCH "^CONFIG[^=]+" Name ${NameAndValue}) |
|
|
|
|
|
|
|
|
|
if (Name) |
|
|
|
|
if(Name) |
|
|
|
|
# Find the value |
|
|
|
|
string(REPLACE "${Name}=" "" Value ${NameAndValue}) |
|
|
|
|
|
|
|
|
|
if(Value) |
|
|
|
|
# remove extra quotes |
|
|
|
|
string(REPLACE "\"" "" Value ${Value}) |
|
|
|
|
|
|
|
|
@ -164,4 +165,5 @@ foreach(NameAndValue ${ConfigContents})
@@ -164,4 +165,5 @@ foreach(NameAndValue ${ConfigContents})
|
|
|
|
|
#message(STATUS "${Name} ${Value}") |
|
|
|
|
set(${Name} ${Value} CACHE INTERNAL "NUTTX DEFCONFIG: ${Name}" FORCE) |
|
|
|
|
endif() |
|
|
|
|
endif() |
|
|
|
|
endforeach() |
|
|
|
|