diff options
author | Serhii Voloshynov <serhii.voloshynov@globallogic.com> | 2020-07-07 09:01:01 +0300 |
---|---|---|
committer | Serhii Voloshynov <serhii.voloshynov@globallogic.com> | 2020-07-07 09:01:01 +0300 |
commit | e55908accd5443c9b15c6c4acfc121c8414c7c39 (patch) | |
tree | a1019b9be684a6cac2705f3e515c835d0b7100f5 /recipes-kernel/linux | |
parent | f7e57211c4ec9ce597cf4b06321ab37aa040c2e7 (diff) | |
download | meta-multitech-atmel-e55908accd5443c9b15c6c4acfc121c8414c7c39.tar.gz meta-multitech-atmel-e55908accd5443c9b15c6c4acfc121c8414c7c39.tar.bz2 meta-multitech-atmel-e55908accd5443c9b15c6c4acfc121c8414c7c39.zip |
move make-kernel-reproducible.patch to meta-multitech-atmel
Diffstat (limited to 'recipes-kernel/linux')
-rw-r--r-- | recipes-kernel/linux/linux-at91-4.9.87/make-kernel-reproducible.patch | 25 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-at91_4.9.87.bb | 1 |
2 files changed, 26 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 + diff --git a/recipes-kernel/linux/linux-at91_4.9.87.bb b/recipes-kernel/linux/linux-at91_4.9.87.bb index e433d22..c6fbe36 100644 --- a/recipes-kernel/linux/linux-at91_4.9.87.bb +++ b/recipes-kernel/linux/linux-at91_4.9.87.bb @@ -48,6 +48,7 @@ COMMON_PATCHES = " \ file://linux-4.9-led-core-Fix-brightness-setting-when-setting-delay_off-0.patch \ file://linux-4.9-linux4sam-usb-serial-option.patch \ file://linux-4.9-quectel_qmi_wwan_support.patch \ + file://make-kernel-reproducible.patch \ " |