Makefile (6b93f350e55f3f2ee071dd41109d936abfba8ebf) Makefile (ef7d6abb2cf57a18d34b332f0865c4d03bd810a3)
1# SPDX-License-Identifier: GPL-2.0
2# Copyright (C) 2021 ARM Limited
3# Originally tools/testing/arm64/abi/Makefile
4
5CFLAGS += -I$(top_srcdir)/tools/include
6
1# SPDX-License-Identifier: GPL-2.0
2# Copyright (C) 2021 ARM Limited
3# Originally tools/testing/arm64/abi/Makefile
4
5CFLAGS += -I$(top_srcdir)/tools/include
6
7TEST_GEN_PROGS := hwprobe cbo
7TEST_GEN_PROGS := hwprobe cbo which-cpus
8
9include ../../lib.mk
10
11$(OUTPUT)/hwprobe: hwprobe.c sys_hwprobe.S
12 $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^
13
14$(OUTPUT)/cbo: cbo.c sys_hwprobe.S
15 $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^
8
9include ../../lib.mk
10
11$(OUTPUT)/hwprobe: hwprobe.c sys_hwprobe.S
12 $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^
13
14$(OUTPUT)/cbo: cbo.c sys_hwprobe.S
15 $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^
16
17$(OUTPUT)/which-cpus: which-cpus.c sys_hwprobe.S
18 $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^