2018-06-24 17:57:43 +00:00
|
|
|
include("plat/build.lua")
|
|
|
|
|
|
|
|
headermap = {}
|
|
|
|
packagemap = {}
|
|
|
|
|
|
|
|
local function addheader(h)
|
|
|
|
headermap[h] = "plat/linux/include/"..h
|
|
|
|
packagemap["$(PLATIND)/linux/include/"..h] = "plat/linux/include/"..h
|
|
|
|
end
|
|
|
|
|
|
|
|
addheader("ack/plat.h")
|
|
|
|
addheader("ack/fcntl.h")
|
|
|
|
addheader("ack/signal.h")
|
|
|
|
addheader("sys/ioctl.h")
|
|
|
|
addheader("sys/types.h")
|
2022-01-19 17:05:59 +00:00
|
|
|
addheader("sys/wait.h")
|
2018-06-24 17:57:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
acklibrary {
|
|
|
|
name = "headers",
|
|
|
|
hdrs = headermap
|
|
|
|
}
|
|
|
|
|
|
|
|
installable {
|
|
|
|
name = "pkg",
|
|
|
|
map = packagemap
|
|
|
|
}
|