sim: ppc: always compile in the sysv sem & shm device files
authorMike Frysinger <vapier@gentoo.org>
Tue, 2 Jan 2024 01:22:45 +0000 (20:22 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 2 Jan 2024 05:29:28 +0000 (00:29 -0500)
commitbc756034ee870319fffc2b03c3ca18391823b51a
tree886eb85dd3424d3b9edbd4a5b323d9eb26ab4e42
parentd961049a26b7e19da19198e3908b6823d4c462d7
sim: ppc: always compile in the sysv sem & shm device files

Move the stub logic to the device files themselves.  This makes the
configure & build logic more static which will make it easier to move
to the top-level build, and matches what we did with the common/ hw
tree already.

This also decouples the logic from the two -- in the past, you needed
both sem & shm in order to enable the device models, but now each one
is tied to its own independent knob.  Practically speaking, this will
probably not make a difference, but it simplifies the build a bit.
sim/ppc/config.in
sim/ppc/configure
sim/ppc/configure.ac
sim/ppc/hw_sem.c
sim/ppc/hw_shm.c