diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-03-29 12:41:23 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-04-10 13:25:19 -0600 |
commit | 9963890b8be1d208035945abc5ba9f77637b6542 (patch) | |
tree | aa2c1ec88d408212ea76f313c0c94eab3e23a89d /lib/libfdt | |
parent | 92688a09937236dc56c72cae8829cc3a4864c061 (diff) |
libfdt: fix build with Python 3
For some reason Python 3 seems to think it does not need to build
the library. Using the --force parameter makes sure that the library
gets built always. This is especially important since we move the
library in the next step of the Makefile, hence forcing a rebuild
every time the higher level Makefile triggers a rebuild is required
to make sure the library is always there.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/libfdt')
-rw-r--r-- | lib/libfdt/setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfdt/setup.py b/lib/libfdt/setup.py index 62e7bcc1ace..845a0c2b10d 100644 --- a/lib/libfdt/setup.py +++ b/lib/libfdt/setup.py @@ -27,7 +27,7 @@ libfdt_module = Extension( extra_compile_args = cflags ) -sys.argv = [progname, '--quiet', 'build_ext', '--inplace'] +sys.argv = [progname, '--quiet', 'build_ext', '--inplace', '--force'] setup (name = 'libfdt', version = '0.1', |