Every time we add/remove a target, we need to touch the header part,
including renumbering. This is not so important information.
Numbering targets is rather misleading because they are not necessarily
generated in this order. For example, 1) and 2) can be executed
simultaneously when the -j option is given.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
# SPDX-License-Identifier: GPL-2.0
#
# Kbuild for top-level directory of the kernel
# SPDX-License-Identifier: GPL-2.0
#
# Kbuild for top-level directory of the kernel
-# This file takes care of the following:
-# 1) Generate bounds.h
-# 2) Generate timeconst.h
-# 3) Generate asm-offsets.h (may need bounds.h and timeconst.h)
-# 4) Check for missing system calls
bounds-file := include/generated/bounds.h
bounds-file := include/generated/bounds.h
$(call filechk,offsets,__LINUX_BOUNDS_H__)
#####
$(call filechk,offsets,__LINUX_BOUNDS_H__)
#####
-# 2) Generate timeconst.h
timeconst-file := include/generated/timeconst.h
timeconst-file := include/generated/timeconst.h
$(call filechk,gentimeconst)
#####
$(call filechk,gentimeconst)
#####
-# 3) Generate asm-offsets.h
-#
+# Generate asm-offsets.h
offsets-file := include/generated/asm-offsets.h
offsets-file := include/generated/asm-offsets.h
$(call filechk,offsets,__ASM_OFFSETS_H__)
#####
$(call filechk,offsets,__ASM_OFFSETS_H__)
#####
-# 4) Check for missing system calls
-#
+# Check for missing system calls
always += missing-syscalls
targets += missing-syscalls
always += missing-syscalls
targets += missing-syscalls