]> git.proxmox.com Git - mirror_qemu.git/blame - target/avr/Makefile.objs
meson: convert hw/arch*
[mirror_qemu.git] / target / avr / Makefile.objs
CommitLineData
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
21DECODETREE = $(SRC_PATH)/scripts/decodetree.py
22decode-y = $(SRC_PATH)/target/avr/insn.decode
23
139c1837 24target/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 29target/avr/translate.o: target/avr/decode_insn.c.inc
42f3ff00
MR
30
31obj-y += translate.o cpu.o helper.o
32obj-y += gdbstub.o
33obj-y += disas.o
34obj-$(CONFIG_SOFTMMU) += machine.o