Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
2555097c
Commit
2555097c
authored
17 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
fix target rescan (version kernel changes)
SVN-Revision: 7317
parent
0f9285a7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+3
-4
3 additions, 4 deletions
Makefile
include/scan.mk
+2
-2
2 additions, 2 deletions
include/scan.mk
with
5 additions
and
6 deletions
Makefile
+
3
−
4
View file @
2555097c
...
...
@@ -44,11 +44,10 @@ endif
package/%/Makefile
:
;
target/%/Makefile
:
;
tmp/.packageinfo
:
$(wildcard package/*/Makefile include/package*.mk include/kernel.mk) FORCE
tmp/.targetinfo
:
$(wildcard target/*/Makefile include/kernel*.mk) FORCE
tmp/.%info
:
tmp/.packageinfo tmp/.targetinfo
:
FORCE
mkdir
-p
tmp/info
$(
NO_TRACE_MAKE
)
-s
-f
include/scan.mk
SCAN_TARGET
=
"
$*
info"
SCAN_DIR
=
"
$(
patsubst target,target/linux,
$*
)
"
SCAN_NAME
=
"
$*
"
SCAN_DEPS
=
"
$(
filter-out FORCE,
$^
)
"
SCAN_EXTRA
=
""
$(
NO_TRACE_MAKE
)
-s
-f
include/scan.mk
SCAN_TARGET
=
"targetinfo"
SCAN_DIR
=
"target/linux"
SCAN_NAME
=
"target"
SCAN_DEPS
=
""
SCAN_TARGET_DEPS
=
"
$(
wildcard target/*/Makefile include/kernel*.mk
)
"
SCAN_EXTRA
=
""
$(
NO_TRACE_MAKE
)
-s
-f
include/scan.mk
SCAN_TARGET
=
"packageinfo"
SCAN_DIR
=
"package"
SCAN_NAME
=
"package"
SCAN_DEPS
=
"
$(
wildcard package/*/Makefile include/package*.mk include/kernel.mk
)
"
SCAN_EXTRA
=
""
tmpinfo-clean
:
FORCE
-
rm
-rf
tmp/.
*
info
...
...
This diff is collapsed.
Click to expand it.
include/scan.mk
+
2
−
2
View file @
2555097c
...
...
@@ -38,8 +38,8 @@ endif
define
scanfiles
$(
foreach
FILE,
$(
SCAN
)
,
tmp/.
$(
SCAN_TARGET
)
: tmp/info/.
$(
SCAN_TARGET
)
-
$(
FILE
)
$(
SCAN_DEPS
)
tmp/info/.
$(
SCAN_TARGET
)
-
$(
FILE
)
:
$(
SCAN_DIR
)
/
$(
FILE
)
/Makefile
$(
SCAN_STAMP
)
tmp/.
$(
SCAN_TARGET
)
: tmp/info/.
$(
SCAN_TARGET
)
-
$(
FILE
)
$(
SCAN_TARGET_DEPS
)
$(
SCAN_DEPS
)
tmp/info/.
$(
SCAN_TARGET
)
-
$(
FILE
)
:
$(
SCAN_DIR
)
/
$(
FILE
)
/Makefile
$(
SCAN_STAMP
)
$(
SCAN_TARGET_DEPS
)
grep
-E
'include (\$$$$\(INCLUDE_DIR\)|\$$$$\(TOPDIR\)/include
)
/'
$(
SCAN_DIR
)
/
$(
FILE
)
/Makefile
>
/dev/null
&&
{
\
$$(
call progress,Collecting
$(
SCAN_NAME
)
info:
$(
SCAN_DIR
)
/
$(
FILE
))
\
echo
Source-Makefile:
$(
SCAN_DIR
)
/
$(
FILE
)
/Makefile
;
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment