mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
libports: remove right files when cleaning libc
Only the directories and files which were created in the first place by the libc port should be removed. Thereby ignore the exit code of the find command to prevent GNUmake from stopping its execution. Fixes #841.
This commit is contained in:
parent
b1fe2b5ab9
commit
c437255d96
@ -588,10 +588,10 @@ create_include_symlinks-libc: checkout-libc
|
||||
prepare-libc: apply_patches-libc libc_net_generate libc_rpc_generate create_include_symlinks-libc
|
||||
|
||||
clean_include_symlinks-libc:
|
||||
$(VERBOSE)find include -type l -delete
|
||||
$(VERBOSE)-find include/libc{,-amd64,-arm,-i386} -type l -delete 2>/dev/null
|
||||
|
||||
clean_include_subdirs-libc: clean_include_symlinks-libc
|
||||
$(VERBOSE)find include -type d -empty -delete
|
||||
$(VERBOSE)-find include/libc{,-amd64,-arm,-i386} -type d -empty -delete 2>/dev/null
|
||||
|
||||
clean-libc: clean_include_subdirs-libc
|
||||
$(VERBOSE)rm -rf $(CONTRIB_DIR)/$(LIBC)
|
||||
|
Loading…
x
Reference in New Issue
Block a user