Makefile (a23e1966932464e1c5226cb9ac4ce1d5fc10ba22) | Makefile (ae4c4cee8110a986f5a884c5d91d137e2b994303) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the linux kernel. 4# 5 6ccflags-y := -fno-function-sections -fno-data-sections 7 8obj-y := main.o version.o mounts.o --- 38 unchanged lines hidden (view full) --- 47 48$(obj)/version.o: $(obj)/utsversion-tmp.h 49CFLAGS_version.o := -include $(obj)/utsversion-tmp.h 50 51# 52# Build version-timestamp.c with final UTS_VERSION 53# 54 | 1# SPDX-License-Identifier: GPL-2.0 2# 3# Makefile for the linux kernel. 4# 5 6ccflags-y := -fno-function-sections -fno-data-sections 7 8obj-y := main.o version.o mounts.o --- 38 unchanged lines hidden (view full) --- 47 48$(obj)/version.o: $(obj)/utsversion-tmp.h 49CFLAGS_version.o := -include $(obj)/utsversion-tmp.h 50 51# 52# Build version-timestamp.c with final UTS_VERSION 53# 54 |
55include/generated/utsversion.h: build-version-auto = $(shell $(srctree)/$(src)/build-version) | 55include/generated/utsversion.h: build-version-auto = $(shell $(srctree)/scripts/build-version) |
56include/generated/utsversion.h: build-timestamp-auto = $(shell LC_ALL=C date) 57include/generated/utsversion.h: FORCE 58 $(call filechk,uts_version) 59 60$(obj)/version-timestamp.o: include/generated/utsversion.h 61CFLAGS_version-timestamp.o := -include include/generated/utsversion.h | 56include/generated/utsversion.h: build-timestamp-auto = $(shell LC_ALL=C date) 57include/generated/utsversion.h: FORCE 58 $(call filechk,uts_version) 59 60$(obj)/version-timestamp.o: include/generated/utsversion.h 61CFLAGS_version-timestamp.o := -include include/generated/utsversion.h |
62KASAN_SANITIZE_version-timestamp.o := n 63KCSAN_SANITIZE_version-timestamp.o := n 64GCOV_PROFILE_version-timestamp.o := n | |