From 9963890b8be1d208035945abc5ba9f77637b6542 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 29 Mar 2017 12:41:23 -0700 Subject: 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 Acked-by: Simon Glass diff --git a/lib/libfdt/setup.py b/lib/libfdt/setup.py index 62e7bcc..845a0c2 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', -- cgit v0.10.2