Makefile (fc9fdf2c5ab71e27e64b9e14606b677cc2e45884) Makefile (a29e2a48afe3549ee34d39cf42343ba3fced09c6)
1# SPDX-License-Identifier: GPL-2.0
2# Copyright (C) 2021 ARM Limited
3# Originally tools/testing/arm64/abi/Makefile
4
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
5CFLAGS += -I$(top_srcdir)/tools/include
6
6
7TEST_GEN_PROGS := hwprobe cbo
8
7include ../../lib.mk
8
9$(OUTPUT)/hwprobe: hwprobe.c sys_hwprobe.S
10 $(CC) -static -o$@ $(CFLAGS) $(LDFLAGS) $^
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) $^