Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
24 lines
828 B
Makefile
24 lines
828 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \
|
|
tm-signal-context-chk-vmx tm-signal-context-chk-vsx
|
|
|
|
TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \
|
|
tm-vmxcopy tm-fork tm-tar tm-tmspr tm-vmx-unavail \
|
|
$(SIGNAL_CONTEXT_CHK_TESTS)
|
|
|
|
include ../../lib.mk
|
|
|
|
$(TEST_GEN_PROGS): ../harness.c ../utils.c
|
|
|
|
CFLAGS += -mhtm
|
|
|
|
$(OUTPUT)/tm-syscall: tm-syscall-asm.S
|
|
$(OUTPUT)/tm-syscall: CFLAGS += -I../../../../../usr/include
|
|
$(OUTPUT)/tm-tmspr: CFLAGS += -pthread
|
|
$(OUTPUT)/tm-vmx-unavail: CFLAGS += -pthread -m64
|
|
$(OUTPUT)/tm-resched-dscr: ../pmu/lib.o
|
|
|
|
SIGNAL_CONTEXT_CHK_TESTS := $(patsubst %,$(OUTPUT)/%,$(SIGNAL_CONTEXT_CHK_TESTS))
|
|
$(SIGNAL_CONTEXT_CHK_TESTS): tm-signal.S
|
|
$(SIGNAL_CONTEXT_CHK_TESTS): CFLAGS += -mhtm -m64 -mvsx
|