1 include build
/config.mk
3 MODULES
= applications
/* libs
/* modules
/* themes
/* i18n
/* contrib
/*
8 .PHONY
: all build gccbuild luabuild
clean host gcchost luahost hostcopy hostclean
12 build
: gccbuild luabuild
15 for i in
$(MODULES
); do make
-C
$$i compile
; done
18 for i in
$(MODULES
); do make
-C
$$i lua
$(LUA_TARGET
); done
22 for i in
$(MODULES
); do make
-C
$$i clean; done
27 gcchost
: gccbuild hostcopy
29 luahost
: luabuild hostcopy
33 for i in
$(MODULES
); do cp
-a
$$i/dist/* host
/ -R
2>/dev
/null || true
; done
34 for i in
$(MODULES
); do cp
-a
$$i/hostfiles
/* host
/ -R
2>/dev
/null || true
; done
36 ln
-s .
$(LUCI_MODULEDIR
) host
/luci
38 hostenv
: host ucidefaults
41 build
/hostenv.sh
$(realpath host
) $(LUA_MODULEDIR
) $(LUA_LIBRARYDIR
) "$(realpath host)/bin/uci-defaults --exclude luci-community-*"
44 libs
/sgi-webuci
/host
/buildconfig.sh
$(realpath host
) > host
/etc
/boa
/boa.conf
45 build
/hostenv.sh
$(realpath host
) $(LUA_MODULEDIR
) $(LUA_LIBRARYDIR
) "$(realpath host/usr/bin/boa) -c $(realpath host/etc/boa) -d"
48 build
/hostenv.sh
$(realpath host
) $(LUA_MODULEDIR
) $(LUA_LIBRARYDIR
) "$(realpath libs/httpd/host/runluci) $(realpath host) $(HTDOCS)"
51 build
/hostenv.sh
$(realpath host
) $(LUA_MODULEDIR
) $(LUA_LIBRARYDIR
) "$(realpath libs/httpd/host/runluci) $(realpath host) $(HTDOCS)"
54 build
/hostenv.sh
$(realpath host
) $(LUA_MODULEDIR
) $(LUA_LIBRARYDIR
) lua
57 build
/hostenv.sh
$(realpath host
) $(LUA_MODULEDIR
) $(LUA_LIBRARYDIR
) $$SHELL
63 build
/hostenv.sh
$(realpath host
) $(LUA_MODULEDIR
) $(LUA_LIBRARYDIR
) "build/makedocs.sh host/luci/ docs"
66 # make run is deprecated #
69 # To run LuCI WebUI using LuCI HTTPD #
72 # To run LuCI WebUI using Boa/Webuci #
75 # To start a shell in the LuCI environment #
78 # To run Lua CLI in the LuCI environment #