xref: /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/benchmarks/
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciTEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall
362306a36Sopenharmony_ciTEST_GEN_FILES := exec_target
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciTEST_FILES := settings
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciCFLAGS += -O2
862306a36Sopenharmony_ci
962306a36Sopenharmony_citop_srcdir = ../../../../..
1062306a36Sopenharmony_ciinclude ../../lib.mk
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci$(TEST_GEN_PROGS): ../harness.c
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci$(OUTPUT)/context_switch: ../utils.c
1562306a36Sopenharmony_ci$(OUTPUT)/context_switch: CFLAGS += -maltivec -mvsx -mabi=altivec
1662306a36Sopenharmony_ci$(OUTPUT)/context_switch: LDLIBS += -lpthread
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci$(OUTPUT)/fork: LDLIBS += -lpthread
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci$(OUTPUT)/exec_target: CFLAGS += -static -nostartfiles
21

Indexes created Thu Nov 07 10:32:03 CST 2024