[PATCH for 3.8 4/9] compat: ckmake: remove lots of warning spam for the log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Upsteam commit b24d81b3794854cb7bbcbcf25fac697de263971a

Set the environment variable KCFLAGS = "-Wno-unused-but-set-variable"
to remove lots of spam from the log.

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 bin/ckmake |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/ckmake b/bin/ckmake
index c821b0a..f5f46b0 100755
--- a/bin/ckmake
+++ b/bin/ckmake
@@ -141,9 +141,13 @@ def process_kernel(num, kset):
 		nice = 'ionice -c 3 nice -n 20 '
 		cmd = nice + 'make ' + jobs + make_args + log
 
+		my_env = os.environ.copy()
+		my_env["KCFLAGS"] = "-Wno-unused-but-set-variable"
+
 		kset.baking(rel)
 
 		p = subprocess.Popen([cmd],
+				     env = my_env,
 				     cwd = work_dir,
 				     stdout=None,
 				     stderr=None,
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux