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
3ddc0777
Commit
3ddc0777
authored
11 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
Add make target to check out modules
parent
508e9e93
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.gitignore
+5
-0
5 additions, 0 deletions
.gitignore
Makefile
+7
-3
7 additions, 3 deletions
Makefile
include/toplevel.mk
+1
-1
1 addition, 1 deletion
include/toplevel.mk
modules
+16
-0
16 additions, 0 deletions
modules
scripts/update.sh
+16
-0
16 additions, 0 deletions
scripts/update.sh
with
45 additions
and
4 deletions
.gitignore
+
5
−
0
View file @
3ddc0777
...
...
@@ -2,3 +2,8 @@
/build
/images
/site
/openwrt
/packages/openwrt
/packages/gluon
/packages/routing
/packages/luci
This diff is collapsed.
Click to expand it.
Makefile
+
7
−
3
View file @
3ddc0777
...
...
@@ -18,7 +18,11 @@ include $(GLUONDIR)/include/gluon.mk
TOPDIR
:=
$(
GLUON_OPENWRTDIR
)
export
TOPDIR
include
$(TOPDIR)/include/host.mk
update
:
FORCE
$(
GLUONDIR
)
/scripts/update.sh
$(
GLUONDIR
)
-include
$(TOPDIR)/include/host.mk
_SINGLE
=
export
MAKEFLAGS
=
$(
space
);
...
...
@@ -27,8 +31,8 @@ override REVISION:=$(shell $(GLUONDIR)/scripts/openwrt_rev.sh $(GLUONDIR))
GREP_OPTIONS
=
export
OPENWRT_BUILD
GREP_OPTIONS
REVISION
include
$(TOPDIR)/include/debug.mk
include
$(TOPDIR)/include/depends.mk
-
include
$(TOPDIR)/include/debug.mk
-
include
$(TOPDIR)/include/depends.mk
include
$(GLUONDIR)/include/toplevel.mk
define
GluonProfile
...
...
This diff is collapsed.
Click to expand it.
include/toplevel.mk
+
1
−
1
View file @
3ddc0777
...
...
@@ -10,7 +10,7 @@
RELEASE
:=
Attitude Adjustment
PREP_MK
=
OPENWRT_BUILD
=
QUIET
=
0
include
$(TOPDIR)/include/verbose.mk
-
include
$(TOPDIR)/include/verbose.mk
REVISION
:=
$(
shell
$(
TOPDIR
)
/scripts/getver.sh
)
...
...
This diff is collapsed.
Click to expand it.
modules
0 → 100644
+
16
−
0
View file @
3ddc0777
GLUON_MODULES='openwrt packages/openwrt packages/gluon packages/routing packages/luci'
MODULE_OPENWRT_REPO=git://nbd.name/attitude_adjustment.git
MODULE_OPENWRT_COMMIT=162cca9386fd2d451732562efeaf57a533f3de86
MODULE_PACKAGES_OPENWRT_REPO=git://nbd.name/packages_12.09.git
MODULE_PACKAGES_OPENWRT_COMMIT=b4aa2d25af02e55e223f31894facf6d0e5300146
MODULE_PACKAGES_GLUON_REPO=https://github.com/freifunk-gluon/packages.git
MODULE_PACKAGES_GLUON_COMMIT=f34c54d84cb1f874bf7d588d264dae3c0706ba0b
MODULE_PACKAGES_ROUTING_REPO=https://github.com/openwrt-routing/packages.git
MODULE_PACKAGES_ROUTING_COMMIT=1c0b31528970a181327ff9309e3efd1e8c625ff0
MODULE_PACKAGES_LUCI_REPO=https://github.com/freifunk-gluon/luci.git
MODULE_PACKAGES_LUCI_COMMIT=bed710786d8a3a63f5908823e6382a51efc91003
This diff is collapsed.
Click to expand it.
scripts/update.sh
0 → 100755
+
16
−
0
View file @
3ddc0777
#!/bin/sh
set
-e
.
$1
/modules
for
module
in
$GLUON_MODULES
;
do
dir
=
$1
/
$module
mkdir
-p
$dir
var
=
$(
echo
"
$module
"
|
tr
'[:lower:]/'
'[:upper:]_'
)
eval
repo
=
\$
{
MODULE_
${
var
}
_REPO
}
eval
commit
=
\$
{
MODULE_
${
var
}
_COMMIT
}
git
-C
$dir
init
git
-C
$dir
fetch
$repo
git
-C
$dir
checkout
-B
base
$commit
done
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