3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-15 19:55:53 +00:00

19 lines
424 B
Makefile
Raw Normal View History

2022-04-02 18:08:56 +05:00
# SPDX-License-Identifier: GPL-2.0
gen := arch/$(ARCH)/include/generated
kapi := $(gen)/asm
kapi-hdrs-y := $(kapi)/cpucaps.h
targets += $(addprefix ../../../, $(kapi-hdrs-y))
2022-04-02 18:08:56 +05:00
PHONY += kapi
kapi: $(kapi-hdrs-y)
2022-04-02 18:08:56 +05:00
quiet_cmd_gen_cpucaps = GEN $@
cmd_gen_cpucaps = mkdir -p $(dir $@); $(AWK) -f $(real-prereqs) > $@
2022-04-02 18:08:56 +05:00
$(kapi)/cpucaps.h: $(src)/gen-cpucaps.awk $(src)/cpucaps FORCE
$(call if_changed,gen_cpucaps)