xref: /linux/tools/testing/selftests/riscv/hwprobe/Makefile (revision 287dcc2b0c831d3e3887421f68e3db6b8b8f4eb1)
1# SPDX-License-Identifier: GPL-2.0
2# Copyright (C) 2021 ARM Limited
3# Originally tools/testing/arm64/abi/Makefile
4
5TEST_GEN_PROGS := hwprobe
6
7include ../../lib.mk
8
9$(OUTPUT)/hwprobe: hwprobe.c sys_hwprobe.S
10	$(CC) -o$@ $(CFLAGS) $(LDFLAGS) $^
11