Skip to content
Snippets Groups Projects
Commit eb787b5b authored by Leo Chung's avatar Leo Chung Committed by Christian 'Ansuel' Marangi
Browse files

build: fix find warning with SCAN_EXTRA


If you change SCAN_EXTRA variable with "-path target/linux/xxxx" in
include/toplevel.mk for speed up scan, find will warn with:

find: warning: you have specified the global option -maxdepth after
the argument -path, but global options are not positional, i.e.,
-maxdepth affects tests specified before it as well as those specified
after it.  Please specify global options before other arguments.

The find option -mindepth -maxdepth are global options and must be
before any path option. Change order of $(SCAN_EXTRA) after -mindepth
and -maxdepth to fix this.

Signed-off-by: default avatarLeo Chung <gewalalb@gmail.com>
[capitalize Description, Author and Sob and minor description tweak]
Signed-off-by: default avatarChristian 'Ansuel' Marangi <ansuelsmth@gmail.com>
parent 3fbf9689
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment