Raspberry Pi backend now builds.
This commit is contained in:
27
plat/rpi/include/build.lua
Normal file
27
plat/rpi/include/build.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
include("plat/build.lua")
|
||||
|
||||
headermap = {}
|
||||
packagemap = {}
|
||||
|
||||
local function addheader(h)
|
||||
headermap[h] = "./"..h
|
||||
packagemap["$(PLATIND)/rpi/include/"..h] = "./"..h
|
||||
end
|
||||
|
||||
addheader("ack/config.h")
|
||||
addheader("pi.h")
|
||||
addheader("sys/select.h")
|
||||
addheader("termios.h")
|
||||
addheader("unistd.h")
|
||||
|
||||
acklibrary {
|
||||
name = "headers",
|
||||
hdrs = headermap
|
||||
}
|
||||
|
||||
installable {
|
||||
name = "pkg",
|
||||
map = packagemap
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user