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*ba2d788aSMeng Liuname_M := $(shell uname -m 2>/dev/null || echo not) 8*ba2d788aSMeng LiARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 9*ba2d788aSMeng Li 10*ba2d788aSMeng Liifeq (x86,$(ARCH)) 11*ba2d788aSMeng LiTEST_GEN_FILES += ../../../power/x86/amd_pstate_tracer/amd_pstate_trace.py 12*ba2d788aSMeng LiTEST_GEN_FILES += ../../../power/x86/intel_pstate_tracer/intel_pstate_tracer.py 13*ba2d788aSMeng Liendif 14*ba2d788aSMeng Li 15e5df3268SMeng LiTEST_PROGS := run.sh 16*ba2d788aSMeng LiTEST_FILES := basic.sh tbench.sh 17e1083a03SMeng Li 18e1083a03SMeng Liinclude ../lib.mk 19