Makefile 343 B

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