hw/arm: Use more CONFIG switches for the object files
authorThomas Huth <thuth@redhat.com>
Fri, 9 Mar 2018 17:09:44 +0000 (17:09 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 9 Mar 2018 17:09:44 +0000 (17:09 +0000)
commit0bbabbb414387d8710ca9fe43c8d02bc898c4048
tree6bd1044e41008f83d28d692b806a30c1f79d0b1f
parent8c5931de0ac77388096d79cebf6341471cf2313e
hw/arm: Use more CONFIG switches for the object files

A lot of ARM object files are linked into the executable unconditionally,
even though we have corresponding CONFIG switches like CONFIG_PXA2XX or
CONFIG_OMAP. We should make sure to use these switches in the Makefile so
that the users can disable certain unwanted boards and devices more easily.
While we're at it, also add some new switches for the boards that do not
have a CONFIG option yet.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1520266949-29817-1-git-send-email-thuth@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
default-configs/arm-softmmu.mak
hw/arm/Makefile.objs