2018-02-23 21:31:46 +00:00
|
|
|
include("plat/build.lua")
|
|
|
|
|
|
|
|
headermap = {}
|
|
|
|
packagemap = {}
|
|
|
|
|
|
|
|
local function addheader(h)
|
|
|
|
headermap[h] = "./"..h
|
|
|
|
packagemap["$(PLATIND)/pdpv7/include/"..h] = "./"..h
|
|
|
|
end
|
|
|
|
|
2018-06-22 21:43:15 +00:00
|
|
|
addheader("ack/plat.h")
|
2018-02-23 21:31:46 +00:00
|
|
|
addheader("sys/select.h")
|
2018-06-23 13:18:26 +00:00
|
|
|
addheader("sys/types.h")
|
2018-02-23 21:31:46 +00:00
|
|
|
addheader("termios.h")
|
|
|
|
|
|
|
|
acklibrary {
|
|
|
|
name = "headers",
|
|
|
|
hdrs = headermap
|
|
|
|
}
|
|
|
|
|
|
|
|
installable {
|
|
|
|
name = "pkg",
|
|
|
|
map = packagemap
|
|
|
|
}
|
|
|
|
|
|
|
|
|