xref: /linux/tools/testing/selftests/riscv/hwprobe/Makefile (revision 3ea903e2a523e9655e425ba8eae13733e9e80ac9)
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