]>
Commit | Line | Data |
---|---|---|
42f3ff00 MR |
1 | # |
2 | # QEMU AVR | |
3 | # | |
4 | # Copyright (c) 2016-2020 Michael Rolnik | |
5 | # | |
6 | # This library is free software; you can redistribute it and/or | |
7 | # modify it under the terms of the GNU Lesser General Public | |
8 | # License as published by the Free Software Foundation; either | |
9 | # version 2.1 of the License, or (at your option) any later version. | |
10 | # | |
11 | # This library is distributed in the hope that it will be useful, | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | # Lesser General Public License for more details. | |
15 | # | |
16 | # You should have received a copy of the GNU Lesser General Public | |
17 | # License along with this library; if not, see | |
18 | # <http://www.gnu.org/licenses/lgpl-2.1.html> | |
19 | # | |
20 | ||
21 | DECODETREE = $(SRC_PATH)/scripts/decodetree.py | |
22 | decode-y = $(SRC_PATH)/target/avr/insn.decode | |
23 | ||
139c1837 | 24 | target/avr/decode_insn.c.inc: $(decode-y) $(DECODETREE) |
42f3ff00 MR |
25 | $(call quiet-command, \ |
26 | $(PYTHON) $(DECODETREE) -o $@ --decode decode_insn --insnwidth 16 $<, \ | |
27 | "GEN", $(TARGET_DIR)$@) | |
28 | ||
139c1837 | 29 | target/avr/translate.o: target/avr/decode_insn.c.inc |
42f3ff00 MR |
30 | |
31 | obj-y += translate.o cpu.o helper.o | |
32 | obj-y += gdbstub.o | |
33 | obj-y += disas.o | |
34 | obj-$(CONFIG_SOFTMMU) += machine.o |