xref: /linux/tools/testing/selftests/riscv/hwprobe/Makefile (revision fc9fdf2c5ab71e27e64b9e14606b677cc2e45884)
1287dcc2bSEvan Green# SPDX-License-Identifier: GPL-2.0
2287dcc2bSEvan Green# Copyright (C) 2021 ARM Limited
3287dcc2bSEvan Green# Originally tools/testing/arm64/abi/Makefile
4287dcc2bSEvan Green
5287dcc2bSEvan GreenTEST_GEN_PROGS := hwprobe
6287dcc2bSEvan Green
7287dcc2bSEvan Greeninclude ../../lib.mk
8287dcc2bSEvan Green
9287dcc2bSEvan Green$(OUTPUT)/hwprobe: hwprobe.c sys_hwprobe.S
10*fc9fdf2cSAndrew Jones	$(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^
11