diff options
author | Simon Glass <sjg@chromium.org> | 2017-03-26 13:06:20 -0600 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-03-27 15:33:25 +1100 |
commit | 14c4171f4f9ad2674249e06c54eb9ce0b533d4b6 (patch) | |
tree | 200a7a3a151240aea1491d68d84be4d69afc4614 /pylibfdt/Makefile.pylibfdt | |
parent | 89a5062ab23163a7cc4f6ec3d693e6b6883ac0a1 (diff) | |
download | dtc-14c4171f4f9ad2674249e06c54eb9ce0b533d4b6.zip dtc-14c4171f4f9ad2674249e06c54eb9ce0b533d4b6.tar.gz dtc-14c4171f4f9ad2674249e06c54eb9ce0b533d4b6.tar.bz2 |
pylibfdt: Use package_dir to set the package directory
At present we manually move _libfdt.so into the correct place. Provide a
package directory so we can avoid needing to do this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'pylibfdt/Makefile.pylibfdt')
-rw-r--r-- | pylibfdt/Makefile.pylibfdt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt index 3d99fd4..861e67c 100644 --- a/pylibfdt/Makefile.pylibfdt +++ b/pylibfdt/Makefile.pylibfdt @@ -7,9 +7,8 @@ PYMODULE = $(PYLIBFDT_objdir)/_libfdt.so $(PYMODULE): $(PYLIBFDT_srcs) $(WRAP) @$(VECHO) PYMOD $@ - SOURCES="$^" CPPFLAGS="$(CPPFLAGS)" \ + SOURCES="$^" CPPFLAGS="$(CPPFLAGS)" OBJDIR="$(PYLIBFDT_objdir)" \ python $(PYLIBFDT_objdir)/setup.py --quiet build_ext --inplace - mv _libfdt.so $(PYMODULE) $(WRAP): $(PYLIBFDT_srcdir)/libfdt.swig @$(VECHO) SWIG $@ |