1217309Snwhitehorn# SPDX-License-Identifier: GPL-2.0 2217309Snwhitehorn# Copyright (C) 2021 ARM Limited 3217309Snwhitehorn# Originally tools/testing/arm64/abi/Makefile 4217309Snwhitehorn 5217309SnwhitehornCFLAGS += -I$(top_srcdir)/tools/include 6217309Snwhitehorn 7217309SnwhitehornTEST_GEN_PROGS := hwprobe cbo which-cpus 8217309Snwhitehorn 9217309Snwhitehorninclude ../../lib.mk 10217309Snwhitehorn 11217309Snwhitehorn$(OUTPUT)/hwprobe: hwprobe.c sys_hwprobe.S 12217309Snwhitehorn $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^ 13217309Snwhitehorn 14217309Snwhitehorn$(OUTPUT)/cbo: cbo.c sys_hwprobe.S 15217309Snwhitehorn $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^ 16217309Snwhitehorn 17217309Snwhitehorn$(OUTPUT)/which-cpus: which-cpus.c sys_hwprobe.S 18217309Snwhitehorn $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^ 19217309Snwhitehorn