1e1083a03SMeng Li# SPDX-License-Identifier: GPL-2.0-only 2e1083a03SMeng Li# Makefile for amd-pstate/ function selftests 3e1083a03SMeng Li 4e1083a03SMeng Li# No binaries, but make sure arg-less "make" doesn't trigger "run_tests" 5e1083a03SMeng Liall: 6e1083a03SMeng Li 7*2da789cdSGuillaume TuckerARCH ?= $(shell uname -m 2>/dev/null || echo not) 8*2da789cdSGuillaume TuckerARCH := $(shell echo $(ARCH) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 9ba2d788aSMeng Li 10*2da789cdSGuillaume Tuckerifeq (x86,$(ARCH)) 11*2da789cdSGuillaume TuckerTEST_FILES += ../../../power/x86/amd_pstate_tracer/amd_pstate_trace.py 12*2da789cdSGuillaume TuckerTEST_FILES += ../../../power/x86/intel_pstate_tracer/intel_pstate_tracer.py 13*2da789cdSGuillaume Tuckerendif 14*2da789cdSGuillaume Tucker 15*2da789cdSGuillaume TuckerTEST_PROGS += run.sh 16*2da789cdSGuillaume TuckerTEST_FILES += basic.sh tbench.sh gitsource.sh 17e1083a03SMeng Li 18e1083a03SMeng Liinclude ../lib.mk 19