diff options
author | John Klug <john.klug@multitech.com> | 2020-11-11 16:17:52 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-11-11 16:17:52 -0600 |
commit | 4bb6f26b05450777d14aa96e10783066c2503dc2 (patch) | |
tree | 3ed6c4bb86736d28926fd37a3c2b4eb81de44c82 /recipes-kernel/linux/linux-at91-4.9.87/make-kernel-reproducible.patch | |
download | meta-multitech-atmel-4bb6f26b05450777d14aa96e10783066c2503dc2.tar.gz meta-multitech-atmel-4bb6f26b05450777d14aa96e10783066c2503dc2.tar.bz2 meta-multitech-atmel-4bb6f26b05450777d14aa96e10783066c2503dc2.zip |
Diffstat (limited to 'recipes-kernel/linux/linux-at91-4.9.87/make-kernel-reproducible.patch')
-rw-r--r-- | recipes-kernel/linux/linux-at91-4.9.87/make-kernel-reproducible.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-at91-4.9.87/make-kernel-reproducible.patch b/recipes-kernel/linux/linux-at91-4.9.87/make-kernel-reproducible.patch new file mode 100644 index 0000000..7b92dd2 --- /dev/null +++ b/recipes-kernel/linux/linux-at91-4.9.87/make-kernel-reproducible.patch @@ -0,0 +1,25 @@ +From 7977646874531a08430becc339ae03472648d481 Mon Sep 17 00:00:00 2001 +From: Serhii Voloshynov <serhii.voloshynov@globallogic.com> +Date: Fri, 12 Jun 2020 11:58:38 +0300 +Subject: [PATCH] make kernel reproducible + +--- + Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Makefile b/Makefile +index 3043937..b92e80d 100644 +--- a/Makefile ++++ b/Makefile +@@ -651,6 +651,8 @@ KBUILD_CFLAGS += -O2 + endif + endif + ++KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=) ++ + KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0409, \ + $(call cc-disable-warning,maybe-uninitialized,)) + +-- +2.7.4 + |