Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
firmware
FFS Gluon
Commits
7005a585
Commit
7005a585
authored
10 years ago
by
Nils Schneider
Browse files
Options
Downloads
Patches
Plain Diff
allow GLUON_SITEDIR to be set by environement
parent
53500c50
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/user/builds.rst
+14
-0
14 additions, 0 deletions
docs/user/builds.rst
include/gluon.mk
+4
-4
4 additions, 4 deletions
include/gluon.mk
with
18 additions
and
4 deletions
docs/user/builds.rst
+
14
−
0
View file @
7005a585
...
...
@@ -47,3 +47,17 @@ will also call ``make clean`` on the OpenWRT tree, and
make dirclean
will do all this, and call ``make dirclean`` on the OpenWRT tree.
Environment variables
---------------------
Gluon's build process can be controlled by various environment variables.
GLUON_SITEDIR
Path to the site configuration. Defaults to ``site/``.
GLUON_IMAGEDIR
Path where images will be stored. Defaults to ``images/``.
GLUON_BUILDDIR ?= $(GLUONDIR)/build
Working directory during build. Defaults to ``build/``.
This diff is collapsed.
Click to expand it.
include/gluon.mk
+
4
−
4
View file @
7005a585
ifneq
($(__gluon_inc),1)
__gluon_inc
=
1
GLUON_ORIGOPENWRTDIR
:=
$(
GLUONDIR
)
/openwrt
GLUON_SITEDIR
:=
$(
GLUONDIR
)
/site
GLUON_SITE_CONFIG
:=
$(
GLUON_SITEDIR
)
/site.conf
GLUON_SITEDIR
?=
$(
GLUONDIR
)
/site
GLUON_IMAGEDIR
?=
$(
GLUONDIR
)
/images
GLUON_BUILDDIR
?=
$(
GLUONDIR
)
/build
GLUON_ORIGOPENWRTDIR
:=
$(
GLUONDIR
)
/openwrt
GLUON_SITE_CONFIG
:=
$(
GLUON_SITEDIR
)
/site.conf
GLUON_OPENWRTDIR
=
$(
GLUON_BUILDDIR
)
/
$(
GLUON_TARGET
)
/openwrt
BOARD_BUILDDIR
=
$(
GLUON_BUILDDIR
)
/
$(
BOARD
)$(
if
$(
SUBTARGET
)
,-
$(
SUBTARGET
))
...
...
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