mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 08:18:43 +01:00
python3: drop redundant patch
This patch altered the clean target's behaviour to skip the ipkg-install directory. However this directory isn't created by opkg, opkg-utils, or the package_ipk class; and we don't invoke the clean target as we perform out-of-tree builds. (From OE-Core rev: 9f8bd475701e5d797d3ffc1ba97647101ba0b9b0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
dda336cbbb
commit
ba89e87d8e
@@ -1,38 +0,0 @@
|
||||
consider opkg directories when cleaning up
|
||||
|
||||
-Khem
|
||||
|
||||
Upstream-Status: Inappropriate [OE specific]
|
||||
|
||||
---
|
||||
Makefile.pre.in | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
Index: Python-3.5.3/Makefile.pre.in
|
||||
===================================================================
|
||||
--- Python-3.5.3.orig/Makefile.pre.in
|
||||
+++ Python-3.5.3/Makefile.pre.in
|
||||
@@ -1574,8 +1574,8 @@ touch:
|
||||
# Sanitation targets -- clean leaves libraries, executables and tags
|
||||
# files, which clobber removes as well
|
||||
pycremoval:
|
||||
- -find $(srcdir) -depth -name '__pycache__' -exec rm -rf {} ';'
|
||||
- -find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
|
||||
+ -find $(srcdir) ! -path './ipkg-install/*' -depth -name '__pycache__' -exec rm -rf {} ';'
|
||||
+ -find $(srcdir) ! -path './ipkg-install/*' -name '*.py[co]' -exec rm -f {} ';'
|
||||
|
||||
rmtestturds:
|
||||
-rm -f *BAD *GOOD *SKIPPED
|
||||
@@ -1589,9 +1589,9 @@ docclean:
|
||||
-rm -rf Doc/tools/sphinx Doc/tools/pygments Doc/tools/docutils
|
||||
|
||||
clean: pycremoval
|
||||
- find . -name '*.[oa]' -exec rm -f {} ';'
|
||||
- find . -name '*.s[ol]' -exec rm -f {} ';'
|
||||
- find . -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'
|
||||
+ find . ! -path './ipkg-install/*' -name '*.[oa]' -exec rm -f {} ';'
|
||||
+ find . ! -path './ipkg-install/*' -name '*.s[ol]' -exec rm -f {} ';'
|
||||
+ find . ! -path './ipkg-install/*' -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'
|
||||
find build -name 'fficonfig.h' -exec rm -f {} ';' || true
|
||||
find build -name '*.py' -exec rm -f {} ';' || true
|
||||
find build -name '*.py[co]' -exec rm -f {} ';' || true
|
||||
Reference in New Issue
Block a user