build: make assembling avr code optional.

This commit is contained in:
Martin Preuss
2023-04-26 13:22:54 +02:00
parent 104a4e1a2f
commit 7e77dcaf51

15
0BUILD
View File

@@ -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" -->