On Fri, Nov 26, 2021 at 9:45 PM Paolo Bonzini pbonzini@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