ack/plat/rpi/include/build.lua

28 lines
389 B
Lua
Raw Normal View History

2016-08-20 10:40:13 +00:00
include("plat/build.lua")
headermap = {}
packagemap = {}
local function addheader(h)
headermap[h] = "./"..h
packagemap["$(PLATIND)/rpi/include/"..h] = "./"..h
end
addheader("ack/plat.h")
2016-08-20 10:40:13 +00:00
addheader("pi.h")
addheader("sys/select.h")
addheader("sys/types.h")
2016-08-20 10:40:13 +00:00
addheader("termios.h")
acklibrary {
name = "headers",
hdrs = headermap
}
installable {
name = "pkg",
map = packagemap
}