build: make assembling avr code optional.
This commit is contained in:
15
0BUILD
15
0BUILD
@@ -61,6 +61,13 @@
|
||||
</ifVarMatches>
|
||||
|
||||
|
||||
<!-- use "-Owith_avr=TRUE" or "FALSE" to enable or disable assembling AVR code -->
|
||||
<option id="with_avr" type="string">
|
||||
<default>TRUE</default>
|
||||
<choices>TRUE FALSE</choices>
|
||||
</option>
|
||||
|
||||
|
||||
<checkheaders>
|
||||
signal.h
|
||||
sys/stat.h
|
||||
@@ -101,11 +108,17 @@
|
||||
|
||||
|
||||
<subdirs>
|
||||
avr
|
||||
aqhome
|
||||
apps
|
||||
</subdirs>
|
||||
|
||||
<ifVarMatches name="option_with_avr" value="TRUE" >
|
||||
<subdirs>
|
||||
avr
|
||||
</subdirs>
|
||||
</ifVarMatches>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- build with "gwbuild -B flash" -->
|
||||
|
||||
Reference in New Issue
Block a user