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