diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-27 07:38:18 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-06-02 10:16:47 -0600 |
commit | 555ba4889c8ffc5bac933976db9fd915c796f72d (patch) | |
tree | f2e03ee11524d3a7b673f836bbc0360582c4f471 /lib/libfdt | |
parent | 330274f19d287723e7f2dc507765e836639b7783 (diff) | |
download | u-boot-555ba4889c8ffc5bac933976db9fd915c796f72d.tar.gz u-boot-555ba4889c8ffc5bac933976db9fd915c796f72d.tar.bz2 u-boot-555ba4889c8ffc5bac933976db9fd915c796f72d.zip |
fdt: Rename existing python libfdt module
Now that this module has been accepted upstream we should stop using the
local U-Boot one. In preparation for this, rename it to indicate it is for
legacy use.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/libfdt')
-rw-r--r-- | lib/libfdt/libfdt_legacy.swig (renamed from lib/libfdt/libfdt.swig) | 3 | ||||
-rw-r--r-- | lib/libfdt/setup.py | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/lib/libfdt/libfdt.swig b/lib/libfdt/libfdt_legacy.swig index b24c72b1a2..9880dd998e 100644 --- a/lib/libfdt/libfdt.swig +++ b/lib/libfdt/libfdt_legacy.swig @@ -1,5 +1,4 @@ -/* File: libfdt.i */ -%module libfdt +%module libfdt_legacy %{ #define SWIG_FILE_WITH_INIT diff --git a/lib/libfdt/setup.py b/lib/libfdt/setup.py index 845a0c2b10..fc881351c6 100644 --- a/lib/libfdt/setup.py +++ b/lib/libfdt/setup.py @@ -22,17 +22,17 @@ else: cflags = None libfdt_module = Extension( - '_libfdt', + '_libfdt_legacy', sources = files, extra_compile_args = cflags ) sys.argv = [progname, '--quiet', 'build_ext', '--inplace', '--force'] -setup (name = 'libfdt', +setup (name = 'libfdt_legaacy', version = '0.1', author = "SWIG Docs", description = """Simple swig libfdt from docs""", ext_modules = [libfdt_module], - py_modules = ["libfdt"], + py_modules = ["libfdt_legacy"], ) |