diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-27 15:42:42 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2008-03-27 15:42:42 +0000 |
commit | dfe689229df9afe9a3b7783b477ed82f9a521dbc (patch) | |
tree | 8df36ce9bed6d4b92051cad70481b1ee73404446 /package/python | |
parent | 584e60c7972c6f720492c31f82715af9328eda06 (diff) | |
download | buildroot-novena-dfe689229df9afe9a3b7783b477ed82f9a521dbc.tar.gz buildroot-novena-dfe689229df9afe9a3b7783b477ed82f9a521dbc.zip |
buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
Diffstat (limited to 'package/python')
-rw-r--r-- | package/python/python.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/python/python.mk b/package/python/python.mk index 050db443f..82c938e9f 100644 --- a/package/python/python.mk +++ b/package/python/python.mk @@ -89,7 +89,7 @@ $(PYTHON_DIR)/.hostpython: $(PYTHON_DIR)/.patched $(MAKE) python Parser/pgen && \ mv python hostpython && \ mv Parser/pgen Parser/hostpgen && \ - $(MAKE) distclean \ + -$(MAKE) distclean \ ) && \ touch $@ @@ -167,7 +167,8 @@ python: uclibc $(PYTHON_DEPS) $(TARGET_DIR)/$(PYTHON_TARGET_BINARY) python-clean: -$(MAKE) -C $(PYTHON_DIR) distclean - rm $(PYTHON_DIR)/.configured $(TARGET_DIR)/$(PYTHON_TARGET_BINARY) + rm -f $(PYTHON_DIR)/.configured $(TARGET_DIR)/$(PYTHON_TARGET_BINARY) + -rm -rf $(TARGET_DIR)/usr/lib/python* $(TARGET_DIR)/usr/include/python* python-dirclean: rm -rf $(PYTHON_DIR) |