mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
build: move definition of KBUILD_BUILD_TIMESTAMP to include/kernel.mk
Fixes: 0aed054bec (build: add KERNEL_MAKE and KERNEL_MAKE_FLAGS variables and move to kernel.mk) Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
parent
77a64e8bff
commit
e5fc15bf9a
@ -5,12 +5,6 @@
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
ifneq ($(SOURCE_DATE_EPOCH),)
|
||||
ifndef DUMP
|
||||
KBUILD_BUILD_TIMESTAMP:=$(shell perl -e 'print scalar gmtime($(SOURCE_DATE_EPOCH))')
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef CONFIG_STRIP_KERNEL_EXPORTS
|
||||
KERNEL_MAKEOPTS += \
|
||||
EXTRA_LDSFLAGS="-I$(KERNEL_BUILD_DIR) -include symtab.h"
|
||||
|
@ -10,6 +10,12 @@ CHECK:=1
|
||||
DUMP:=1
|
||||
endif
|
||||
|
||||
ifneq ($(SOURCE_DATE_EPOCH),)
|
||||
ifndef DUMP
|
||||
KBUILD_BUILD_TIMESTAMP:=$(shell perl -e 'print scalar gmtime($(SOURCE_DATE_EPOCH))')
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(__target_inc),)
|
||||
ifndef CHECK
|
||||
include $(INCLUDE_DIR)/target.mk
|
||||
|
Loading…
x
Reference in New Issue
Block a user