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