Skip to content
Snippets Groups Projects
Commit c9f8004b authored by Murilo Opsfelder Araujo's avatar Murilo Opsfelder Araujo Committed by Daniel Henrique Barboza
Browse files

mos6522: fix linking error when CONFIG_MOS6522 is not set


When CONFIG_MOS6522 is not set, building ppc64-softmmu target fails:

/usr/bin/ld: libqemu-ppc64-softmmu.fa.p/monitor_misc.c.o:(.data+0x1158): undefined reference to `hmp_info_via'

Make devices configuration available in hmp-commands*.hx and check for
CONFIG_MOS6522.

Fixes: 409e9f71 (mos6522: add "info via" HMP command for debugging)
Signed-off-by: default avatarMurilo Opsfelder Araujo <muriloo@linux.ibm.com>
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Cc: Fabiano Rosas <farosas@linux.ibm.com>
Cc: Thomas Huth <thuth@redhat.com>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Message-Id: <20220510235439.54775-1-muriloo@linux.ibm.com>
Signed-off-by: default avatarDaniel Henrique Barboza <danielhb413@gmail.com>
parent 162eec18
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment