From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Roland Hieber Date: Thu, 23 Jul 2020 11:50:26 +0200 Message-Id: <20200723095027.3673-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 1/2] rules: remove redundant KCONFIG_NOTIMESTAMP from package environments List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Roland Hieber With _CONF_TOOL := kconfig, KCONFIG_NOTIMESTAMP is always set by the default prepare stage since commit 5b2c1a9375f4c697e666 (2018-11-02, Michael Olbrich: "ptxd_make_kconfig: set KCONFIG_NOTIMESTAMP"). Still keep the setting in BUSYBOX_MAKE_OPT because busybox's kconfig is not SOURCE_DATE_EPOCH aware and compiles the build timestamp into the binary when KCONFIG_NOTIMESTAMP is not set. Add a short note there so this commit shows up in git blame. Signed-off-by: Roland Hieber --- rules/barebox_mlo.make | 1 - rules/busybox.make | 1 + rules/templates/template-kernel-make | 1 - rules/u-boot.make | 2 +- 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/rules/barebox_mlo.make b/rules/barebox_mlo.make index c143ab7f212b..f0d79f151e08 100644 --- a/rules/barebox_mlo.make +++ b/rules/barebox_mlo.make @@ -34,7 +34,6 @@ BAREBOX_MLO_WRAPPER_BLACKLIST := \ $(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST) BAREBOX_MLO_PATH := PATH=$(CROSS_PATH) -BAREBOX_MLO_CONF_ENV := KCONFIG_NOTIMESTAMP=1 BAREBOX_MLO_CONF_TOOL := kconfig BAREBOX_MLO_CONF_OPT := \ V=$(PTXDIST_VERBOSE) \ diff --git a/rules/busybox.make b/rules/busybox.make index 57c94b6092ee..5c87c17ba4d4 100644 --- a/rules/busybox.make +++ b/rules/busybox.make @@ -48,6 +48,7 @@ ifeq ($(BUSYBOX_ARCH),i386) BUSYBOX_ARCH := x86 endif +# does not build reproducibly unless we set KCONFIG_NOTIMESTAMP BUSYBOX_MAKE_OPT := \ KCONFIG_NOTIMESTAMP=1 \ V=$(PTXDIST_VERBOSE) \ diff --git a/rules/templates/template-kernel-make b/rules/templates/template-kernel-make index cc01e7fb7279..5274b42c2362 100644 --- a/rules/templates/template-kernel-make +++ b/rules/templates/template-kernel-make @@ -36,7 +36,6 @@ KERNEL_@PACKAGE@_WRAPPER_BLACKLIST := \ $(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST) KERNEL_@PACKAGE@_PATH := PATH=$(CROSS_PATH) -KERNEL_@PACKAGE@_ENV := KCONFIG_NOTIMESTAMP=1 KERNEL_@PACKAGE@_SHARED_OPT := \ -C $(KERNEL_@PACKAGE@_DIR) \ O=$(KERNEL_@PACKAGE@_BUILD_DIR) \ diff --git a/rules/u-boot.make b/rules/u-boot.make index 7454e9a0cca4..bc428b5f45f7 100644 --- a/rules/u-boot.make +++ b/rules/u-boot.make @@ -67,7 +67,7 @@ U_BOOT_TAGS_OPT := ctags cscope etags ifdef PTXCONF_U_BOOT_CONFIGSYSTEM_KCONFIG U_BOOT_CONF_TOOL := kconfig -U_BOOT_CONF_ENV := KCONFIG_NOTIMESTAMP=1 $(U_BOOT_MAKE_ENV) +U_BOOT_CONF_ENV := $(U_BOOT_MAKE_ENV) endif ifdef PTXCONF_U_BOOT_CONFIGSYSTEM_LEGACY -- 2.27.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de