1 # SPDX-License-Identifier: GPL-2.0 !! 1 CFLAGS := $(CFLAGS) -Wall -D_GNU_SOURCE 2 CFLAGS := $(CFLAGS) -Wall !! 2 LDFLAGS := $(LDFLAGS) -lm 3 LDLIBS += -lm << 4 3 5 ARCH ?= $(shell uname -m 2>/dev/null || echo n << 6 ARCH_PROCESSED := $(shell echo $(ARCH) | sed - << 7 << 8 ifeq (x86,$(ARCH_PROCESSED)) << 9 TEST_GEN_FILES := msr aperf 4 TEST_GEN_FILES := msr aperf 10 endif << 11 5 12 TEST_PROGS := run.sh 6 TEST_PROGS := run.sh 13 7 14 include ../lib.mk 8 include ../lib.mk 15 9 16 $(TEST_GEN_FILES): $(HEADERS) 10 $(TEST_GEN_FILES): $(HEADERS)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.