All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] libfdt: fix build with Python 3
@ 2017-03-29 19:41 Stefan Agner
  2017-04-01  4:23 ` Simon Glass
  2017-04-03 10:30 ` Stefano Babic
  0 siblings, 2 replies; 14+ messages in thread
From: Stefan Agner @ 2017-03-29 19:41 UTC (permalink / raw)
  To: u-boot

From: Stefan Agner <stefan.agner@toradex.com>

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>
---

 lib/libfdt/setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libfdt/setup.py b/lib/libfdt/setup.py
index 62e7bcc1ac..845a0c2b10 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',
-- 
2.12.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-06-25 21:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-29 19:41 [U-Boot] [PATCH] libfdt: fix build with Python 3 Stefan Agner
2017-04-01  4:23 ` Simon Glass
2017-04-05 18:08   ` Stefan Agner
2017-04-05 18:11     ` Simon Glass
2017-04-10 20:52       ` Simon Glass
2017-06-25 21:59         ` Stephen Arnold
2017-04-03 10:30 ` Stefano Babic
2017-04-03 16:41   ` Stefan Agner
2017-04-03 17:35     ` Stefano Babic
2017-04-03 21:02       ` Stefan Agner
2017-04-04  8:53         ` Stefano Babic
2017-04-04 18:44           ` Stefan Agner
2017-04-05 17:26             ` Stefano Babic
2017-04-05 18:05               ` Stefan Agner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.