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