Makefile (942baad211336efefb93a8369478888ab845c450) Makefile (6073882cc1a8a0bcff840d6754f2f8205ba42342)
1# SPDX-License-Identifier: GPL-2.0
2#
3# linux/arch/arm/tools/Makefile
4#
5# Copyright (C) 2001 Russell King
6#
7
8gen := arch/$(ARCH)/include/generated

--- 19 unchanged lines hidden (view full) ---

28
29uapi: $(uapi-hdrs-y)
30
31# Create output directory if not already present
32_dummy := $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)') \
33 $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)')
34
35quiet_cmd_gen_mach = GEN $@
1# SPDX-License-Identifier: GPL-2.0
2#
3# linux/arch/arm/tools/Makefile
4#
5# Copyright (C) 2001 Russell King
6#
7
8gen := arch/$(ARCH)/include/generated

--- 19 unchanged lines hidden (view full) ---

28
29uapi: $(uapi-hdrs-y)
30
31# Create output directory if not already present
32_dummy := $(shell [ -d '$(kapi)' ] || mkdir -p '$(kapi)') \
33 $(shell [ -d '$(uapi)' ] || mkdir -p '$(uapi)')
34
35quiet_cmd_gen_mach = GEN $@
36 cmd_gen_mach = mkdir -p $(dir $@) && \
37 $(AWK) -f $(filter-out $(PHONY),$^) > $@
36 cmd_gen_mach = $(AWK) -f $(real-prereqs) > $@
38
39$(kapi)/mach-types.h: $(src)/gen-mach-types $(src)/mach-types FORCE
40 $(call if_changed,gen_mach)
41
42quiet_cmd_syshdr = SYSHDR $@
43 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --abis $(abis) \
44 --offset __NR_SYSCALL_BASE $< $@
45

--- 26 unchanged lines hidden ---
37
38$(kapi)/mach-types.h: $(src)/gen-mach-types $(src)/mach-types FORCE
39 $(call if_changed,gen_mach)
40
41quiet_cmd_syshdr = SYSHDR $@
42 cmd_syshdr = $(CONFIG_SHELL) $(syshdr) --abis $(abis) \
43 --offset __NR_SYSCALL_BASE $< $@
44

--- 26 unchanged lines hidden ---