gdbstub: only compile gdbstub twice for whole build
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 3 Mar 2023 02:57:58 +0000 (18:57 -0800)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 7 Mar 2023 20:44:09 +0000 (20:44 +0000)
commit61b2e136db5a628cadcb4a1a5c68efbab4c8e2fb
tree628d63cd1bf4bb2d0d2cb481af157afed931ecc8
parentc566080cd37fe328077a3c49d7fd248ce2a06bfe
gdbstub: only compile gdbstub twice for whole build

Now we have removed any target specific bits from the core gdbstub
code we only need to build it twice. We have to jump a few meson hoops
to manually define the CONFIG_USER_ONLY symbol but it seems to work.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230302190846.2593720-23-alex.bennee@linaro.org>
Message-Id: <20230303025805.625589-23-richard.henderson@linaro.org>
gdbstub/gdbstub.c
gdbstub/meson.build