Kbuild (ad774086356da92a477a87916613d96f4b36005c) Kbuild (ba97df45581f09a987ffa38444c33ed6a0a9479e)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Kbuild for top-level directory of the kernel
4# This file takes care of the following:
5# 1) Generate bounds.h
6# 2) Generate timeconst.h
7# 3) Generate asm-offsets.h (may need bounds.h and timeconst.h)
8# 4) Check for missing system calls

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

21
22#####
23# 2) Generate timeconst.h
24
25timeconst-file := include/generated/timeconst.h
26
27targets += $(timeconst-file)
28
1# SPDX-License-Identifier: GPL-2.0
2#
3# Kbuild for top-level directory of the kernel
4# This file takes care of the following:
5# 1) Generate bounds.h
6# 2) Generate timeconst.h
7# 3) Generate asm-offsets.h (may need bounds.h and timeconst.h)
8# 4) Check for missing system calls

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

21
22#####
23# 2) Generate timeconst.h
24
25timeconst-file := include/generated/timeconst.h
26
27targets += $(timeconst-file)
28
29define filechk_gentimeconst
30 echo $(CONFIG_HZ) | bc -q $<
31endef
29filechk_gentimeconst = echo $(CONFIG_HZ) | bc -q $<
32
33$(timeconst-file): kernel/time/timeconst.bc FORCE
34 $(call filechk,gentimeconst)
35
36#####
37# 3) Generate asm-offsets.h
38#
39

--- 34 unchanged lines hidden ---
30
31$(timeconst-file): kernel/time/timeconst.bc FORCE
32 $(call filechk,gentimeconst)
33
34#####
35# 3) Generate asm-offsets.h
36#
37

--- 34 unchanged lines hidden ---