Fix SDK build process
This commit is contained in:
parent
341f757255
commit
a060a9e135
3 changed files with 4 additions and 8 deletions
9
Makefile
9
Makefile
|
@ -50,15 +50,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"
|
||||
|
|
2
build/lucid.lua
Normal file
2
build/lucid.lua
Normal file
|
@ -0,0 +1,2 @@
|
|||
dofile "build/setup.lua"
|
||||
require "luci.lucid".start()
|
|
@ -5,6 +5,7 @@ LDFLAGS :=
|
|||
OBJ = cli.o lar.o md5.o
|
||||
BIN = lar
|
||||
|
||||
compile:
|
||||
cli: $(OBJ)
|
||||
$(GCC) $(CFLAGS) -o $(BIN) $(OBJ) $(LDFLAGS)
|
||||
|
||||
|
|
Loading…
Reference in a new issue