1 include build/config.mk
3 MODULES = applications/* libs/* modules/* themes/* i18n/*
6 ### luaposix merge (temporary) ###
10 MODULES += contrib/luaposix
14 .PHONY: all build gccbuild luabuild clean host gcchost luahost hostcopy hostclean
18 build: luabuild gccbuild
21 for i in $(MODULES); do make -C$$i compile; done
24 for i in $(MODULES); do make -C$$i lua$(LUA_TARGET); done
27 for i in $(MODULES); do make -C$$i clean; done
32 gcchost: gccbuild hostcopy
34 luahost: luabuild hostcopy
38 for i in $(MODULES); do cp $$i/dist/* host/ -R 2>/dev/null || true; done
40 ln -s .$(LUCI_INSTALLDIR) host/luci
43 ./host/usr/bin/boa -c ./host/etc/boa -d