Makefile (2c9b3512402ed192d1f43f4531fb5da947e72bd0) Makefile (cc937dad85aea4ab9e4f9827d7ea55932c86906b)
1# SPDX-License-Identifier: GPL-2.0-only
2include ../../../build/Build.include
3
4all:
5
6top_srcdir = ../../../..
7include $(top_srcdir)/scripts/subarch.include
8ARCH ?= $(SUBARCH)

--- 98 unchanged lines hidden (view full) ---

107TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
108TEST_GEN_PROGS_x86_64 += x86_64/vmx_dirty_log_test
109TEST_GEN_PROGS_x86_64 += x86_64/vmx_exception_with_invalid_guest_state
110TEST_GEN_PROGS_x86_64 += x86_64/vmx_msrs_test
111TEST_GEN_PROGS_x86_64 += x86_64/vmx_invalid_nested_guest_state
112TEST_GEN_PROGS_x86_64 += x86_64/vmx_set_nested_state_test
113TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
114TEST_GEN_PROGS_x86_64 += x86_64/vmx_nested_tsc_scaling_test
1# SPDX-License-Identifier: GPL-2.0-only
2include ../../../build/Build.include
3
4all:
5
6top_srcdir = ../../../..
7include $(top_srcdir)/scripts/subarch.include
8ARCH ?= $(SUBARCH)

--- 98 unchanged lines hidden (view full) ---

107TEST_GEN_PROGS_x86_64 += x86_64/vmx_close_while_nested_test
108TEST_GEN_PROGS_x86_64 += x86_64/vmx_dirty_log_test
109TEST_GEN_PROGS_x86_64 += x86_64/vmx_exception_with_invalid_guest_state
110TEST_GEN_PROGS_x86_64 += x86_64/vmx_msrs_test
111TEST_GEN_PROGS_x86_64 += x86_64/vmx_invalid_nested_guest_state
112TEST_GEN_PROGS_x86_64 += x86_64/vmx_set_nested_state_test
113TEST_GEN_PROGS_x86_64 += x86_64/vmx_tsc_adjust_test
114TEST_GEN_PROGS_x86_64 += x86_64/vmx_nested_tsc_scaling_test
115TEST_GEN_PROGS_x86_64 += x86_64/apic_bus_clock_test
116TEST_GEN_PROGS_x86_64 += x86_64/xapic_ipi_test
117TEST_GEN_PROGS_x86_64 += x86_64/xapic_state_test
118TEST_GEN_PROGS_x86_64 += x86_64/xcr0_cpuid_test
119TEST_GEN_PROGS_x86_64 += x86_64/xss_msr_test
120TEST_GEN_PROGS_x86_64 += x86_64/debug_regs
121TEST_GEN_PROGS_x86_64 += x86_64/tsc_msrs_test
122TEST_GEN_PROGS_x86_64 += x86_64/vmx_pmu_caps_test
123TEST_GEN_PROGS_x86_64 += x86_64/xen_shinfo_test

--- 17 unchanged lines hidden (view full) ---

141TEST_GEN_PROGS_x86_64 += max_guest_memory_test
142TEST_GEN_PROGS_x86_64 += memslot_modification_stress_test
143TEST_GEN_PROGS_x86_64 += memslot_perf_test
144TEST_GEN_PROGS_x86_64 += rseq_test
145TEST_GEN_PROGS_x86_64 += set_memory_region_test
146TEST_GEN_PROGS_x86_64 += steal_time
147TEST_GEN_PROGS_x86_64 += kvm_binary_stats_test
148TEST_GEN_PROGS_x86_64 += system_counter_offset_test
115TEST_GEN_PROGS_x86_64 += x86_64/xapic_ipi_test
116TEST_GEN_PROGS_x86_64 += x86_64/xapic_state_test
117TEST_GEN_PROGS_x86_64 += x86_64/xcr0_cpuid_test
118TEST_GEN_PROGS_x86_64 += x86_64/xss_msr_test
119TEST_GEN_PROGS_x86_64 += x86_64/debug_regs
120TEST_GEN_PROGS_x86_64 += x86_64/tsc_msrs_test
121TEST_GEN_PROGS_x86_64 += x86_64/vmx_pmu_caps_test
122TEST_GEN_PROGS_x86_64 += x86_64/xen_shinfo_test

--- 17 unchanged lines hidden (view full) ---

140TEST_GEN_PROGS_x86_64 += max_guest_memory_test
141TEST_GEN_PROGS_x86_64 += memslot_modification_stress_test
142TEST_GEN_PROGS_x86_64 += memslot_perf_test
143TEST_GEN_PROGS_x86_64 += rseq_test
144TEST_GEN_PROGS_x86_64 += set_memory_region_test
145TEST_GEN_PROGS_x86_64 += steal_time
146TEST_GEN_PROGS_x86_64 += kvm_binary_stats_test
147TEST_GEN_PROGS_x86_64 += system_counter_offset_test
149TEST_GEN_PROGS_x86_64 += pre_fault_memory_test
150
151# Compiled outputs used by test targets
152TEST_GEN_PROGS_EXTENDED_x86_64 += x86_64/nx_huge_pages_test
153
154TEST_GEN_PROGS_aarch64 += aarch64/aarch32_id_regs
155TEST_GEN_PROGS_aarch64 += aarch64/debug-exceptions
156TEST_GEN_PROGS_aarch64 += aarch64/hypercalls
157TEST_GEN_PROGS_aarch64 += aarch64/page_fault_test

--- 70 unchanged lines hidden (view full) ---

228LINUX_TOOL_INCLUDE = $(top_srcdir)/tools/include
229ifeq ($(ARCH),x86_64)
230LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/x86/include
231else
232LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/$(ARCH)/include
233endif
234CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 \
235 -Wno-gnu-variable-sized-type-not-at-end -MD -MP -DCONFIG_64BIT \
148
149# Compiled outputs used by test targets
150TEST_GEN_PROGS_EXTENDED_x86_64 += x86_64/nx_huge_pages_test
151
152TEST_GEN_PROGS_aarch64 += aarch64/aarch32_id_regs
153TEST_GEN_PROGS_aarch64 += aarch64/debug-exceptions
154TEST_GEN_PROGS_aarch64 += aarch64/hypercalls
155TEST_GEN_PROGS_aarch64 += aarch64/page_fault_test

--- 70 unchanged lines hidden (view full) ---

226LINUX_TOOL_INCLUDE = $(top_srcdir)/tools/include
227ifeq ($(ARCH),x86_64)
228LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/x86/include
229else
230LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/$(ARCH)/include
231endif
232CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -O2 -g -std=gnu99 \
233 -Wno-gnu-variable-sized-type-not-at-end -MD -MP -DCONFIG_64BIT \
236 -D_GNU_SOURCE -fno-builtin-memcmp -fno-builtin-memcpy \
234 -fno-builtin-memcmp -fno-builtin-memcpy \
237 -fno-builtin-memset -fno-builtin-strnlen \
238 -fno-stack-protector -fno-PIE -I$(LINUX_TOOL_INCLUDE) \
239 -I$(LINUX_TOOL_ARCH_INCLUDE) -I$(LINUX_HDR_PATH) -Iinclude \
240 -I$(<D) -Iinclude/$(ARCH_DIR) -I ../rseq -I.. $(EXTRA_CFLAGS) \
241 $(KHDR_INCLUDES)
242ifeq ($(ARCH),s390)
243 CFLAGS += -march=z10
244endif

--- 89 unchanged lines hidden ---
235 -fno-builtin-memset -fno-builtin-strnlen \
236 -fno-stack-protector -fno-PIE -I$(LINUX_TOOL_INCLUDE) \
237 -I$(LINUX_TOOL_ARCH_INCLUDE) -I$(LINUX_HDR_PATH) -Iinclude \
238 -I$(<D) -Iinclude/$(ARCH_DIR) -I ../rseq -I.. $(EXTRA_CFLAGS) \
239 $(KHDR_INCLUDES)
240ifeq ($(ARCH),s390)
241 CFLAGS += -march=z10
242endif

--- 89 unchanged lines hidden ---