Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
darkbit
ffbs-gluon
Commits
6e32328b
Commit
6e32328b
authored
10 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
build: use own tmp directory for each target
parent
dd29ac32
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+9
-4
9 additions, 4 deletions
Makefile
with
9 additions
and
4 deletions
Makefile
+
9
−
4
View file @
6e32328b
...
...
@@ -207,13 +207,16 @@ config: FORCE
+
$(
NO_TRACE_MAKE
)
defconfig
OPENWRT_BUILD
=
0
prepare-target
:
FORCE
mkdir
-p
$(
GLUON_OPENWRTDIR
)
for
dir
in
build_dir dl staging_dir tmp
;
do
\
rm
$(
GLUON_OPENWRTDIR
)
/tmp
||
true
mkdir
-p
$(
GLUON_OPENWRTDIR
)
/tmp
for
dir
in
build_dir
dl
staging_dir;
do
\
mkdir
-p
$(GLUON_ORIGOPENWRTDIR)/$$dir;
\
done
for
link
in
build_dir config Config.in dl include Makefile package rules.mk scripts staging_dir target
tmp
toolchain tools
;
do
\
for
link
in
build_dir
config
Config.in
dl
include
Makefile package rules.mk scripts staging_dir target toolchain tools; do \
ln
-sf
$(GLUON_ORIGOPENWRTDIR)/$$link
$(GLUON_OPENWRTDIR);
\
done
+$(GLUONMAKE_EARLY)
feeds
+$(GLUONMAKE_EARLY)
gluon-tools
+$(GLUONMAKE)
config
...
...
@@ -237,7 +240,9 @@ clean: FORCE
rm
-f
$(
gluon_prepared_stamp
)
dirclean
:
FORCE
+
$(
SUBMAKE
)
dirclean
for
dir
in
build_dir dl staging_dir tmp
;
do
\
rm
-rf
$(
GLUON_ORIGOPENWRTDIR
)
/
$$
dir
;
\
done
rm
-rf
$(
GLUON_BUILDDIR
)
...
...
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