qdev: Fix device_add DRIVER,help to print to monitor
[qemu/ar7.git] / target / avr / Makefile.objs
blob6e35ba2c5c1c04b33261a322c996073a7bf4deaa
2 #  QEMU AVR
4 #  Copyright (c) 2016-2020 Michael Rolnik
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.
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.
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>
21 DECODETREE = $(SRC_PATH)/scripts/decodetree.py
22 decode-y = $(SRC_PATH)/target/avr/insn.decode
24 target/avr/decode_insn.inc.c: $(decode-y) $(DECODETREE)
25         $(call quiet-command, \
26           $(PYTHON) $(DECODETREE) -o $@ --decode decode_insn --insnwidth 16 $<, \
27           "GEN", $(TARGET_DIR)$@)
29 target/avr/translate.o: target/avr/decode_insn.inc.c
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