several more fixes #2
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@
|
|||||||
/usereeprom.lua
|
/usereeprom.lua
|
||||||
/run
|
/run
|
||||||
/root*
|
/root*
|
||||||
|
/musl-cross-make
|
||||||
|
@ -42,6 +42,10 @@ case "$1" in
|
|||||||
TOOL=powerpc-linux-musl
|
TOOL=powerpc-linux-musl
|
||||||
OUT=$TOOL
|
OUT=$TOOL
|
||||||
;;
|
;;
|
||||||
|
i686 )
|
||||||
|
TOOL=i686-linux-musl
|
||||||
|
OUT=i686-linux-musl
|
||||||
|
;;
|
||||||
*) echo "Invalid target!" ; exit 1
|
*) echo "Invalid target!" ; exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -60,7 +64,7 @@ cd dependencies
|
|||||||
|
|
||||||
if [ $2 = "libressl" ] || [ $# -lt 2 ]; then
|
if [ $2 = "libressl" ] || [ $# -lt 2 ]; then
|
||||||
|
|
||||||
git clone https://github.com/libressl-portable/portable.git libressl
|
git clone --depth 1 https://github.com/libressl-portable/portable.git libressl
|
||||||
cd libressl
|
cd libressl
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
CFLAGS="-fdata-sections -ffunction-sections" ./configure --host=$TOOL
|
CFLAGS="-fdata-sections -ffunction-sections" ./configure --host=$TOOL
|
||||||
|
@ -50,7 +50,7 @@ function api.register(address, ctype, proxy, doc)
|
|||||||
end
|
end
|
||||||
components[address] = {address = address, type = ctype, doc = doc or {}}
|
components[address] = {address = address, type = ctype, doc = doc or {}}
|
||||||
components[address].rawproxy = proxy
|
components[address].rawproxy = proxy
|
||||||
components[address].proxy = {}
|
components[address].proxy = {address = address, type = ctype, slot = -1}
|
||||||
for k,v in pairs(proxy) do
|
for k,v in pairs(proxy) do
|
||||||
if type(v) == "function" then
|
if type(v) == "function" then
|
||||||
components[address].proxy[k] = setmetatable({name=k,address=address}, componentCallback)
|
components[address].proxy[k] = setmetatable({name=k,address=address}, componentCallback)
|
||||||
|
Loading…
Reference in New Issue
Block a user