blob: 7b92dd2618d691d5f434565573ed56deee003f96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|