hw/char/parallel: Make it possible to compile also without CONFIG_PARALLEL
commit3e3fdad6e1b980bd570790a8eaa6333023b4dcab
authorThomas Huth <thuth@redhat.com>
Mon, 11 Mar 2019 09:50:54 +0000 (11 10:50 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Mar 2019 08:39:57 +0000 (18 09:39 +0100)
tree83052f85799342e66d9698b29f789011d39c5d6a
parentcedc0ad539afbbb669dba9e73dfad2915bc1c25b
hw/char/parallel: Make it possible to compile also without CONFIG_PARALLEL

For the downstream distribution of QEMU, we want to compile without
CONFIG_PARALLEL. Commit 9157eee1b1c076ff3 already moved the function
parallel_hds_isa_init() (which is still required for linking) into a file
that is included anyway, but commit bb3d5ea858e7f888563a moved it
to a separate file which is only compiled again if CONFIG_PARALLEL is
set. To be able to link QEMU again without CONFIG_PARALLEL, the file
should be considered for linking for all targets that have CONFIG_ISA_BUS.
And while we're at it, add a proper comment in there with the rationale
for the separate file.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1552297854-25847-1-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/char/Makefile.objs
hw/char/parallel-isa.c
hw/i386/Kconfig
hw/sparc64/Kconfig