xref: /linux/tools/testing/selftests/thermal/intel/power_floor/Makefile (revision 3ade6ce1255e6e97f91b8ba77408dce9d2292df2)
1# SPDX-License-Identifier: GPL-2.0
2ifndef CROSS_COMPILE
3uname_M := $(shell uname -m 2>/dev/null || echo not)
4ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
5
6ifeq ($(ARCH),x86)
7TEST_GEN_PROGS := power_floor_test
8
9include ../../../lib.mk
10
11endif
12endif
13