source: packages/lang/python/patches/070-dont-clean-ipkg-install.patch @ 29369

Last change on this file since 29369 was 29369, checked in by jow, 5 years ago

[packages] python: fix compilation against Linux 3.x (#10197)

File size: 838 bytes
  • Makefile.pre.in

    ---
     Makefile.pre.in |    6 +++---
     1 file changed, 3 insertions(+), 3 deletions(-)
    
    a b TAGS:: 
    11181118# Sanitation targets -- clean leaves libraries, executables and tags 
    11191119# files, which clobber removes as well 
    11201120pycremoval: 
    1121         find $(srcdir) -name '*.py[co]' -exec rm -f {} ';' 
     1121        find $(srcdir) ! -path './ipkg-install/*' -name '*.py[co]' -exec rm -f {} ';' 
    11221122 
    11231123clean: pycremoval 
    1124         find . -name '*.o' -exec rm -f {} ';' 
    1125         find . -name '*.s[ol]' -exec rm -f {} ';' 
     1124        find . ! -path './ipkg-install/*' -name '*.o' -exec rm -f {} ';' 
     1125        find . ! -path './ipkg-install/*' -name '*.s[ol]' -exec rm -f {} ';' 
    11261126        find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true 
    11271127        find $(srcdir)/build -name 'fficonfig.py' -exec rm -f {} ';' || true 
    11281128        -rm -f Lib/lib2to3/*Grammar*.pickle 
Note: See TracBrowser for help on using the repository browser.