Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / testing / selftests / riscv / hwprobe / Makefile
blobcec81610a5f27bd31086024565ade68e2b9a570a
1 # SPDX-License-Identifier: GPL-2.0
2 # Copyright (C) 2021 ARM Limited
3 # Originally tools/testing/arm64/abi/Makefile
5 CFLAGS += -I$(top_srcdir)/tools/include
7 TEST_GEN_PROGS := hwprobe cbo which-cpus
9 include ../../lib.mk
11 $(OUTPUT)/hwprobe: hwprobe.c sys_hwprobe.S
12 $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^
14 $(OUTPUT)/cbo: cbo.c sys_hwprobe.S
15 $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^
17 $(OUTPUT)/which-cpus: which-cpus.c sys_hwprobe.S
18 $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^