build: gccbuild luabuild
gccbuild:
- for i in $(MODULES); do make -C$$i compile; done
+ make -C libs/lmo CC="cc" CFLAGS="" LDFLAGS="" host-install
+ for i in $(MODULES); do \
+ make -C$$i compile || { \
+ echo "*** Compilation of $$i failed!"; \
+ exit 1; \
+ }; \
+ done
luabuild: i18nbuild
for i in $(MODULES); do HOST=$(realpath host) make -C$$i luabuild; done
clean:
rm -rf docs
+ make -C libs/lmo host-clean
for i in $(MODULES); do make -C$$i clean; done
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: runhttpd
+ 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
+ build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "lua -i build/setup.lua"
runshell: hostenv
build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) $$SHELL