diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-27 07:38:24 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-02 10:18:19 -0600 |
commit | 727f153629719c93f9c5df6e391fdfee32377ca7 (patch) | |
tree | 1a78e4efe6f9825a6835f3230874ba83b4b60358 /lib/libfdt/setup.py | |
parent | e38ffc42674fedc750ca895046be0bd983b56dd5 (diff) | |
download | u-boot-727f153629719c93f9c5df6e391fdfee32377ca7.tar.gz u-boot-727f153629719c93f9c5df6e391fdfee32377ca7.tar.xz u-boot-727f153629719c93f9c5df6e391fdfee32377ca7.zip |
fdt: Stop building the old python libfdt module
This is no-longer needed, so stop building it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/libfdt/setup.py')
-rw-r--r-- | lib/libfdt/setup.py | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/lib/libfdt/setup.py b/lib/libfdt/setup.py deleted file mode 100644 index fc881351c6..0000000000 --- a/lib/libfdt/setup.py +++ /dev/null @@ -1,38 +0,0 @@ -#!/usr/bin/env python - -""" -setup.py file for SWIG libfdt -""" - -from distutils.core import setup, Extension -import os -import sys - -# Don't cross-compile - always use the host compiler. -del os.environ['CROSS_COMPILE'] -del os.environ['CC'] - -progname = sys.argv[0] -cflags = sys.argv[1] -files = sys.argv[2:] - -if cflags: - cflags = [flag for flag in cflags.split(' ') if flag] -else: - cflags = None - -libfdt_module = Extension( - '_libfdt_legacy', - sources = files, - extra_compile_args = cflags -) - -sys.argv = [progname, '--quiet', 'build_ext', '--inplace', '--force'] - -setup (name = 'libfdt_legaacy', - version = '0.1', - author = "SWIG Docs", - description = """Simple swig libfdt from docs""", - ext_modules = [libfdt_module], - py_modules = ["libfdt_legacy"], - ) |