1 # SPDX-License-Identifier: GPL-2.0 2 3 gen := arch/$(ARCH)/include/generated 4 kapi := $(gen)/asm 5 6 kapisyshdr-y := cpucap-defs.h sysreg-defs.h 7 8 kapi-hdrs-y := $(addprefix $(kapi)/, $(kapisys 9 10 targets += $(addprefix ../../../, $(kapi-hdrs- 11 12 PHONY += kapi 13 14 all: $(syscall64) kapi 15 16 kapi: $(kapi-hdrs-y) 17 18 quiet_cmd_gen_cpucaps = GEN $@ 19 cmd_gen_cpucaps = mkdir -p $(dir $@); $( 20 21 quiet_cmd_gen_sysreg = GEN $@ 22 cmd_gen_sysreg = mkdir -p $(dir $@); $(A 23 24 $(kapi)/cpucap-defs.h: $(src)/gen-cpucaps.awk 25 $(call if_changed,gen_cpucaps) 26 27 $(kapi)/sysreg-defs.h: $(src)/gen-sysreg.awk $ 28 $(call if_changed,gen_sysreg)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.