mirror of
https://github.com/qemu/qemu.git
synced 2026-07-08 17:46:17 +00:00
Makefile: include tests/Makefile.include before ninja calculation
As the tests Makefile sets .ninja-goals we need it to be included before we do the calculations in the main Makefile. Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com> Message-ID: <20260526110243.470002-2-alex.bennee@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
4
Makefile
4
Makefile
@@ -45,6 +45,8 @@ include config-host.mak
|
||||
include Makefile.prereqs
|
||||
Makefile.prereqs: config-host.mak
|
||||
|
||||
include $(SRC_PATH)/tests/Makefile.include
|
||||
|
||||
# 0. ensure the build tree is okay
|
||||
|
||||
# Check that we're not trying to do an out-of-tree build from
|
||||
@@ -180,8 +182,6 @@ endif # config-host.mak does not exist
|
||||
|
||||
SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory --quiet)
|
||||
|
||||
include $(SRC_PATH)/tests/Makefile.include
|
||||
|
||||
all: recurse-all
|
||||
|
||||
SUBDIR_RULES=$(foreach t, all clean distclean, $(addsuffix /$(t), $(SUBDIRS)))
|
||||
|
||||
Reference in New Issue
Block a user