common.mk: add headless csv build rule
This commit is contained in:
parent
e8aea009c6
commit
0b6c650ebd
3
.gitignore
vendored
3
.gitignore
vendored
@ -12,4 +12,5 @@ __pycache__
|
|||||||
*.gch
|
*.gch
|
||||||
scramble
|
scramble
|
||||||
cdi4dc
|
cdi4dc
|
||||||
tools/ttf_outline
|
tools/ttf_outline
|
||||||
|
*.blend1
|
||||||
|
@ -130,6 +130,9 @@ audio.pcm:
|
|||||||
%.data.o: %.data
|
%.data.o: %.data
|
||||||
$(BUILD_BINARY_O)
|
$(BUILD_BINARY_O)
|
||||||
|
|
||||||
|
regs/%.csv: regs/%.ods
|
||||||
|
libreoffice --headless -convert-to csv:"Text - txt - csv (StarCalc)":44,34,76,,,,true --outdir regs/ $<
|
||||||
|
|
||||||
maple/maple_bus_commands.hpp: regs/maple_bus_commands.csv regs/gen/maple_bus_commands.py
|
maple/maple_bus_commands.hpp: regs/maple_bus_commands.csv regs/gen/maple_bus_commands.py
|
||||||
python regs/gen/maple_bus_commands.py $< > $@
|
python regs/gen/maple_bus_commands.py $< > $@
|
||||||
|
|
||||||
|
@ -249,3 +249,10 @@ SERIAL_TRANSFER_OBJ = \
|
|||||||
|
|
||||||
example/serial_transfer.elf: LDSCRIPT = $(LIB)/alt.lds
|
example/serial_transfer.elf: LDSCRIPT = $(LIB)/alt.lds
|
||||||
example/serial_transfer.elf: $(START_OBJ) $(SERIAL_TRANSFER_OBJ)
|
example/serial_transfer.elf: $(START_OBJ) $(SERIAL_TRANSFER_OBJ)
|
||||||
|
|
||||||
|
INTERRUPT_OBJ = \
|
||||||
|
example/interrupt.o \
|
||||||
|
serial.o
|
||||||
|
|
||||||
|
example/interrupt.elf: LDSCRIPT = $(LIB)/alt.lds
|
||||||
|
example/interrupt.elf: $(START_OBJ) $(INTERRUPT_OBJ)
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user