Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Openwrt Chaos Calmer Dev Edition 2015
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
nounous-archives
Openwrt Chaos Calmer Dev Edition 2015
Commits
2db90bec
Commit
2db90bec
authored
18 years ago
by
nbd
Browse files
Options
Downloads
Patches
Plain Diff
fix the sdk
git-svn-id:
svn://svn.openwrt.org/openwrt/trunk@6718
3c298f89-4303-0410-b956-a3cf2f4a3e73
parent
73b719b1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package/Makefile
+1
-5
1 addition, 5 deletions
package/Makefile
target/sdk/files/Makefile
+28
-11
28 additions, 11 deletions
target/sdk/files/Makefile
with
29 additions
and
16 deletions
package/Makefile
+
1
−
5
View file @
2db90bec
...
...
@@ -40,12 +40,8 @@ $(STAMP_DIR) $(TARGET_DIR):
%-clean
:
FORCE
$(
MAKE
)
-C
$(
patsubst %-clean,%,
$@
)
clean
ifeq
($(SDK),1)
GENDEP_OPTS
:=
-s
endif
$(TMP_DIR)/.pkgdeps
:
$(TMP_DIR)/.pkginfo
@$(
TOPDIR
)
/scripts/metadata.pl package_mk
$(
GENDEP_OPTS
)
<
$<
>
$@
||
rm
-f
$@
@$(
TOPDIR
)
/scripts/metadata.pl package_mk <
$<
>
$@
||
rm
-f
$@
preconfig
:
clean
:
$(patsubst %
,
%-clean
,
$(package-) $(package-y) $(package-m))
...
...
This diff is collapsed.
Click to expand it.
target/sdk/files/Makefile
+
28
−
11
View file @
2db90bec
...
...
@@ -33,21 +33,38 @@ export DEVELOPER
SDK
=
1
export
SDK
export
IS_TTY
=
$(
shell
tty
-s
&&
echo
1
||
echo
0
)
include
$(TOPDIR)/include/verbose.mk
all
:
world
.pkginfo
:
FORCE
ifneq
($(shell ./scripts/timestamp.pl -p .pkginfo package Makefile),.pkginfo)
@
echo
Collecting package info...
@
-for
dir
in
package/
*
/
;
do
\
echo
Source-Makefile:
$${
dir
}
Makefile
;
\
$(
MAKE
)
--no-print-dir
DUMP
=
1
-C
$$
dir
2>&-
||
true
;
\
done
>
$@
endif
define
stamp
tmp/info/.stamp-$(1)-
$(
shell
ls
$(
2
)
/
*
/Makefile
$(
5
)
|
(
md5sum
||
md5
)
2>/dev/null |
cut
-d
' '
-f1
)
endef
STAMP
=
$(
call stamp,pkginfo,package
)
$(STAMP)
:
@
mkdir
-p
tmp/info
@
rm
-f
tmp/info/.stamp-pkginfo
*
@
touch
$@
define
filedep
$(
foreach
FILE,
$(
shell
ls
package/
*
/Makefile
)
,
tmp/.pkginfo:
$(
FILE
)
$(
FILE
)
:
@true
)
endef
$(
eval
$(
filedep
))
pkginfo-clean
:
FORCE
-
rm
-f
.pkginfo .config.in
tmp/.pkginfo
:
$(STAMP)
@
echo
-n
Collecting package info...
@$(
NO_TRACE_MAKE
)
-s
-f
include/scan.mk
SCAN_TARGET
=
"pkginfo"
SCAN_DIR
=
"package"
SCAN_NAME
=
"package"
SCAN_DEPS
=
""
package/%
:
.pkginfo FORCE
package/%
:
FORCE
@$(
NO_TRACE_MAKE
)
-s
tmp/.pkginfo
$(
MAKE
)
-C
package
$(
patsubst package/%,%,
$@
)
SDK
=
1
download
:
FORCE
...
...
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