From d54aaf93673c78669468737f1cbc1b465d6adfa0 Mon Sep 17 00:00:00 2001 From: Brandon Maier Date: Sun, 30 Jun 2024 10:59:55 -0500 Subject: [PATCH] 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 Signed-off-by: David Gibson --- .gitignore | 1 + pylibfdt/Makefile.pylibfdt | 4 ++-- 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