Makefile 378 B

12345678910111213141516
  1. # SPDX-License-Identifier: GPL-2.0
  2. ifndef CROSS_COMPILE
  3. uname_M := $(shell uname -m 2>/dev/null || echo not)
  4. ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)
  5. ifeq ($(ARCH),x86)
  6. TEST_PROGS := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test \
  7. disable-tsc-test
  8. all: $(TEST_PROGS)
  9. include ../lib.mk
  10. clean:
  11. rm -fr $(TEST_PROGS)
  12. endif
  13. endif