diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2018-11-23 21:58:42 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-11-23 21:58:42 +1100 |
commit | f9c0a425b64817ba91563a84d9a7ea9033e3c14f (patch) | |
tree | c426f71c865c059a0d8d9fa7f47810f6fd6ae6cc /pylibfdt | |
parent | 5182b5e6f28cbe3563ed058988801b90a97b6b70 (diff) | |
download | device-tree-compiler-f9c0a425b64817ba91563a84d9a7ea9033e3c14f.tar.gz |
Remove broken objdir / srcdir support
The dtc makefiles have support for building into a separate directory from
the sources... except that it's broken and probably always has been.
Remove the pretense.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'pylibfdt')
-rw-r--r-- | pylibfdt/Makefile.pylibfdt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt index 41256fc..3dfe05a 100644 --- a/pylibfdt/Makefile.pylibfdt +++ b/pylibfdt/Makefile.pylibfdt @@ -1,14 +1,14 @@ # Makefile.pylibfdt # -PYLIBFDT_srcs = $(PYLIBFDT_srcdir)/libfdt.i -PYMODULE = $(PYLIBFDT_objdir)/_libfdt.so +PYLIBFDT_srcs = $(PYLIBFDT_dir)/libfdt.i +PYMODULE = $(PYLIBFDT_dir)/_libfdt.so PYLIBFDT_CLEANFILES_L = libfdt_wrap.c libfdt.py *.pyc *.so -PYLIBFDT_CLEANFILES = $(PYLIBFDT_CLEANFILES_L:%=$(PYLIBFDT_objdir)/%) +PYLIBFDT_CLEANFILES = $(PYLIBFDT_CLEANFILES_L:%=$(PYLIBFDT_dir)/%) PYLIBFDT_CLEANDIRS_L = build __pycache__ -PYLIBFDT_CLEANDIRS = $(PYLIBFDT_CLEANDIRS_L:%=$(PYLIBFDT_objdir)/%) +PYLIBFDT_CLEANDIRS = $(PYLIBFDT_CLEANDIRS_L:%=$(PYLIBFDT_dir)/%) -SETUP = $(PYLIBFDT_srcdir)/setup.py +SETUP = $(PYLIBFDT_dir)/setup.py SETUPFLAGS = ifndef V @@ -17,7 +17,7 @@ endif $(PYMODULE): $(PYLIBFDT_srcs) $(LIBFDT_archive) $(SETUP) $(VERSION_FILE) @$(VECHO) PYMOD $@ - $(PYTHON) $(SETUP) $(SETUPFLAGS) build_ext --build-lib=../$(PYLIBFDT_objdir) + $(PYTHON) $(SETUP) $(SETUPFLAGS) build_ext --build-lib=../$(PYLIBFDT_dir) install_pylibfdt: $(PYMODULE) @$(VECHO) INSTALL-PYLIB |