162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ciCFLAGS := $(CFLAGS) -Wall -D_GNU_SOURCE 362306a36Sopenharmony_ciLDLIBS += -lm 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciARCH ?= $(shell uname -m 2>/dev/null || echo not) 662306a36Sopenharmony_ciARCH_PROCESSED := $(shell echo $(ARCH) | sed -e s/i.86/x86/ -e s/x86_64/x86/) 762306a36Sopenharmony_ci 862306a36Sopenharmony_ciifeq (x86,$(ARCH_PROCESSED)) 962306a36Sopenharmony_ciTEST_GEN_FILES := msr aperf 1062306a36Sopenharmony_ciendif 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciTEST_PROGS := run.sh 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ciinclude ../lib.mk 1562306a36Sopenharmony_ci 1662306a36Sopenharmony_ci$(TEST_GEN_FILES): $(HEADERS) 17