aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Maier <brandon.maier@gmail.com>2024-06-30 10:59:55 -0500
committerDavid Gibson <david@gibson.dropbear.id.au>2024-07-01 11:49:27 +1000
commitd54aaf93673c78669468737f1cbc1b465d6adfa0 (patch)
tree2340f4cf1498e87ff4f75188ec5d590f8dd0ff4d
parentab86f1e9fda819a920d4243005bf282c0d7b5f4a (diff)
downloaddtc-d54aaf93673c78669468737f1cbc1b465d6adfa0.zip
dtc-d54aaf93673c78669468737f1cbc1b465d6adfa0.tar.gz
dtc-d54aaf93673c78669468737f1cbc1b465d6adfa0.tar.bz2
pylibfdt: clean up python build directory
In commit "pylibfdt/Makefile.pylibfdt: fix Python library being rebuild during install" the build directory moved to the top level of the repo. Signed-off-by: Brandon Maier <brandon.maier@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r--.gitignore1
-rw-r--r--pylibfdt/Makefile.pylibfdt4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 8fdf112..8e1e0c0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@ ncscope.*
.eggs/
build/
dist/
+*.egg-info/
diff --git a/pylibfdt/Makefile.pylibfdt b/pylibfdt/Makefile.pylibfdt
index eee1701..73c8b76 100644
--- a/pylibfdt/Makefile.pylibfdt
+++ b/pylibfdt/Makefile.pylibfdt
@@ -6,8 +6,8 @@ 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_dir)/%)
-PYLIBFDT_CLEANDIRS_L = build __pycache__
-PYLIBFDT_CLEANDIRS = $(PYLIBFDT_CLEANDIRS_L:%=$(PYLIBFDT_dir)/%)
+PYLIBFDT_CLEANDIRS_L = __pycache__ libfdt.egg-info
+PYLIBFDT_CLEANDIRS = build $(PYLIBFDT_CLEANDIRS_L:%=$(PYLIBFDT_dir)/%)
SETUP = ./setup.py