treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / testing / selftests / intel_pstate / Makefile
blob7340fd6a9a9f2cbd0d0f16ad7388d674b0ae0fb5
1 # SPDX-License-Identifier: GPL-2.0
2 CFLAGS := $(CFLAGS) -Wall -D_GNU_SOURCE
3 LDLIBS := $(LDLIBS) -lm
5 uname_M := $(shell uname -m 2>/dev/null || echo not)
6 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
8 ifeq (x86,$(ARCH))
9 TEST_GEN_FILES := msr aperf
10 endif
12 TEST_PROGS := run.sh
14 include ../lib.mk
16 $(TEST_GEN_FILES): $(HEADERS)