From f678e3108695fccb96c363987ff53e0cd5b16be2 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Fri, 6 Dec 2013 00:41:57 +0100 Subject: manual: do not generate .pyc files Python saves a pre-compiled support/scripts/kconfiglib.pyc file side-to-side with the corresponding .py file. This does not work if the Buildroot source tree is read-only (but this is not an error for Python, which keep going OK). But this may cause issues for out-of-tree builds in case the same Buildroot source tree is shared by many builds. Also, 'make clean' currently does not clean this file, and out-of-tree builds can remove it either, at the risk of causing issues for other out-of-tree builds running at the same time. Just tell Python not to generate .pyc files: - call the script via python, don't use the sha-bang - thus, make the script non-executable, and remove the sha-bang Signed-off-by: "Yann E. MORIN" Cc: Arnout Vandecappelle Cc: Samuel Martin Signed-off-by: Peter Korsgaard --- support/scripts/gen-manual-lists.py | 2 -- 1 file changed, 2 deletions(-) mode change 100755 => 100644 support/scripts/gen-manual-lists.py (limited to 'support/scripts/gen-manual-lists.py') diff --git a/support/scripts/gen-manual-lists.py b/support/scripts/gen-manual-lists.py old mode 100755 new mode 100644 index 4546e07656..4562d7e2ce --- a/support/scripts/gen-manual-lists.py +++ b/support/scripts/gen-manual-lists.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -## ## gen-manual-lists.py ## ## This script generates the following Buildroot manual appendices: -- cgit v1.2.3