Skip to content
Snippets Groups Projects
Commit b20a2b48 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

Makefile: move the cleaning of staging_dir/target* from dirclean to clean


Currently "make clean" only clears the build_dir/target*, but leaves
staging_dir/target* intact. "make clean" should also clean the
staging_dir/target* directories, as in the current situation some old
packages or libraries may be linked into the firmware from staging_dir
despite a "make clean".

The patch reorganises clean / dirclean functionality so that
* "make clean" also clears the staging_dir/target* in addition to
build_dir/target*.
* "make dirclean" clears toolchain and host(=tools) directories from both
build_dir and staging_dir

signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 45973
parent ffc033b2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment