From 6f984c401ee18394958b90ffe47d69c04fc73bee Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sat, 4 Feb 2023 02:55:42 +0100 Subject: [PATCH] root: add rule for setup-mode-activation tool --- .gitignore | 1 + Makefile | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index c8127218..29dda4c2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ /output /site /tmp +/tools /packages .bash_history .subversion diff --git a/Makefile b/Makefile index 695b1bc7..de84571e 100644 --- a/Makefile +++ b/Makefile @@ -194,6 +194,10 @@ container: FORCE @scripts/container.sh +tools: + mkdir -p tools + gcc -o tools/enter-network-config-mode package/gluon-setup-mode/src/send-network-request.c + all: config +@ $(GLUON_ENV) $(LUA) scripts/clean_output.lua @@ -201,6 +205,7 @@ all: config $(GLUON_ENV) $(LUA) scripts/copy_output.lua clean download: config + rm -rf tools +@$(OPENWRTMAKE) $@ dirclean: FORCE