Source-builder Qemu compiling / customizing
Sam Price
thesamprice at gmail.com
Tue Feb 22 03:54:03 UTC 2022
Im on ubuntu 18 and trying to build qemu for microblaze.
I had to modify the
source-builder/defaults.mc
and change several tool paths from /usr/bin to /bin
(This is prob not a standard build process.)
Short question. What file in rtems-source builder do I need to modify to
add --disable-docs flag to the command that calls qemu configure and
generates the do-build file.
longer contex
When running
cd $RTEMS_BUILDER_DIR/src/rsb/rtems
../source-builder/sb-set-builder --prefix=$RTEMS_DEST_DIR/6
devel/qemu-xilinx
I get the following error
install: cannot stat 'docs/system/qemu.1': No such file or directory
This file appears to be in docs/system/1/qemu.1
(Maybe thats a source file though)
I can modify
`./build/qemu-xilinx-v2020.2-x86_64-linux-gnu-1/do-build`
and add `--disable-docs` to the line
$SB_PREFIX_CLEAN/lib -L$SYSROOT/lib ${VDE_LDFLAGS}" CFLAGS="${CFLAGS}
${VDE_CFLAGS}" ../${source_dir_qemu}/configure --prefix=/opt/rtems/6
${CROSS_PREFIX_OPTION} --make=make ${VDE_CONFIG} --disable-werror
--disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk
--disable-opengl --disable-netmap --disable-nettle --disable-docs
and then run do-build with success.
I saw these files
./rsb/bare/config/devel/qemu-xilinx.bset
./rsb/bare/config/devel/qemu-xilinx-v2020.2-1.cfg
But didnt see anything in them related to compiling.
My end goal is to customize qemu with a device driver that mimics our
firmware per
https://sebastienbourdelin.com/2021/06/16/writing-a-custom-device-for-qemu/
So somewhere I need to change the submodule link to a version of qemu that
I control.
Sorry if this should have been posted to users. Still waiting on the
verify email.
--
Thanks,
Sam Price
More information about the devel
mailing list