mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
build: move TARGET_GPROF to config-host.mak
TARGET_GPROF is the same for all targets, write it to config-host.mak instead. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: <20200204161104.21077-1-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
fe3dada317
commit
4cc600d229
5 changed files with 10 additions and 8 deletions
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu.h"
|
||||
#ifdef TARGET_GPROF
|
||||
#ifdef CONFIG_GPROF
|
||||
#include <sys/gmon.h>
|
||||
#endif
|
||||
|
||||
|
@ -28,7 +28,7 @@ extern void __gcov_dump(void);
|
|||
|
||||
void preexit_cleanup(CPUArchState *env, int code)
|
||||
{
|
||||
#ifdef TARGET_GPROF
|
||||
#ifdef CONFIG_GPROF
|
||||
_mcleanup();
|
||||
#endif
|
||||
#ifdef CONFIG_GCOV
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue