[PATCH 3/4] KVM: selftests: Add EXTRA_CFLAGS in top-level Makefile
Anup Patel
anup at brainfault.org
Sun Nov 28 19:43:49 PST 2021
On Fri, Nov 26, 2021 at 9:45 PM Paolo Bonzini <pbonzini at redhat.com> wrote:
>
> On 11/26/21 16:40, Anup Patel wrote:
> > We add EXTRA_CFLAGS to the common CFLAGS of top-level Makefile
> > which will allow users to pass additional compile-time flags such
> > as "-static".
>
> Is this just for debugging? I cannot understand if it's used in patch 4.
Yes, this is just for debugging.
I am using it to add selftests ELFs to any arbitrary initrd so that I can
try selftests on Spike, FPGA, or even HW simulators.
Regards,
Anup
>
> Paolo
>
More information about the kvm-riscv
mailing list