Skip to content

Commit 6f984c4

Browse files
committed
root: add rule for setup-mode-activation tool
1 parent 83dbbc1 commit 6f984c4

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/output
44
/site
55
/tmp
6+
/tools
67
/packages
78
.bash_history
89
.subversion

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,18 @@ container: FORCE
194194
@scripts/container.sh
195195

196196

197+
tools:
198+
mkdir -p tools
199+
gcc -o tools/enter-network-config-mode package/gluon-setup-mode/src/send-network-request.c
200+
197201
all: config
198202
+@
199203
$(GLUON_ENV) $(LUA) scripts/clean_output.lua
200204
$(OPENWRTMAKE)
201205
$(GLUON_ENV) $(LUA) scripts/copy_output.lua
202206

203207
clean download: config
208+
rm -rf tools
204209
+@$(OPENWRTMAKE) $@
205210

206211
dirclean: FORCE

0 commit comments

Comments
 (0)