X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=Makefile;h=3bf8c68de17d1290b1dccec24279fb2f1f94db4d;hp=d082a9807706543b1f4a5ecf79594b48ea4dcef9;hb=cdfe9d6c7bcb678406eccaa389a4b2cea53d7c64;hpb=90ce9746c230510f690407b7ccc1330bdca48bbd diff --git a/Makefile b/Makefile index d082a9807..3bf8c68de 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ all: build build: gccbuild luabuild gccbuild: + make -C libs/lmo CC="cc" CFLAGS="" LDFLAGS="" host-install for i in $(MODULES); do \ make -C$$i compile || { \ echo "*** Compilation of $$i failed!"; \ @@ -28,6 +29,7 @@ i18nbuild: clean: rm -rf docs + make -C libs/lmo host-clean for i in $(MODULES); do make -C$$i clean; done @@ -39,6 +41,7 @@ luahost: luabuild hostcopy hostcopy: mkdir -p host/tmp + mkdir -p host/var/state for i in $(MODULES); do cp -pR $$i/dist/* host/ 2>/dev/null || true; done for i in $(MODULES); do cp -pR $$i/hostfiles/* host/ 2>/dev/null || true; done rm -f host/luci @@ -50,15 +53,8 @@ hostenv: host ucidefaults ucidefaults: build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "$(realpath host)/bin/uci-defaults --exclude luci-freifunk-*" -runboa: hostenv - libs/sgi-webuci/host/buildconfig.sh $(realpath host) > host/etc/boa/boa.conf - build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "$(realpath host/usr/bin/boa) -c $(realpath host/etc/boa) -d" - runhttpd: hostenv - build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "$(realpath host/usr/bin/lucittpd) $(realpath host)/usr/lib/lucittpd/plugins" - -runluci: luahost - build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "$(realpath libs/httpd/host/runluci) $(realpath host) $(HTDOCS)" + build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "lua build/lucid.lua" runlua: hostenv build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "lua -i build/setup.lua"