[PATCH 0/9] Cleanups to building of Python extension module

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



There are a bunch of uglinesses in the way we currently build the
pylibfdt extension model.  A lot of these stem from the fact that it
isn't terribly easy to make Python's distutils / setuptools play nice
with dtc's makefiles.

In particular these limitations make it difficult to build and test
for both Python2 and Python3, which we want to do in future.

These patches address at least some of the problems, though there are
more to be addressed.

Simon, I'd love to get your review of these, then I'll merge to
master.

David Gibson (9):
  pylibfdt: We don't need include files from the base directory
  pylibfdt: Correctly set build output directory
  pylibfdt: Link extension module with libfdt rather than rebuilding
  pylibfdt: Simpler CFLAGS handling
  pylibfdt: Make SETUP make variable
  pylibfdt: Don't silence setup.py when V=1
  pylibfdt: Improved version extraction
  pylibfdt: Eliminate run_setup make function
  pylibfdt: Don't have setup.py depend on where it's invoked from

 pylibfdt/Makefile.pylibfdt |  24 ++++-----
 pylibfdt/libfdt.i          |   4 +-
 pylibfdt/setup.py          | 108 ++++++-------------------------------
 3 files changed, 28 insertions(+), 108 deletions(-)

-- 
2.17.1




[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux