Open tj90241 opened 2 years ago
Currently have to copy ROM images into the build dir, still need to fix...
git submodule update --init --recursive
mkdir -p build && cd build
cmake ..
make -j9
cp -R ../qemu/pc-bios/* share/qemu/
I also have to double-check that qemu-system-x86_64
gets relinked when libptlsim.a
changes - I don't think that's the case right now.
There's also a variety of new tools and packages that might be needed, includiing jq
, libfdt-dev
, and others.
Remove SCons and replace it with a CMake-driven build system. The immediate benefit of this is that we no longer need to maintain any build scaffolding for qemu, as we just use their configure/Makefiles/etc.
Purge qemu out of tree, and instead leverage it as a submodule. The submodule being used has git history for qemu and MARSS-specific changes so that it's easier to understand the changes made for MARSS.
This is preliminary work: we'll need to document the (at least, temporary) requirements such as jq...
When checking out this branch and forever more, one must run
git submodule update --init --recursive
to fetch theqemu
submodule.Builds can be then done in a separate directory:
Signed-off-by: Tyler J. Stachecki stachecki.tyler@gmail.com