2016-08-14 09:34:18 +00:00
|
|
|
include("plat/build.lua")
|
|
|
|
|
|
|
|
headermap = {}
|
|
|
|
packagemap = {}
|
|
|
|
|
|
|
|
local function addheader(h)
|
2018-06-23 10:35:17 +00:00
|
|
|
headermap[h] = "plat/linux/include/"..h
|
|
|
|
packagemap["$(PLATIND)/linux68k/include/"..h] = "plat/linux/include/"..h
|
2016-08-14 09:34:18 +00:00
|
|
|
end
|
|
|
|
|
2018-06-22 21:43:15 +00:00
|
|
|
addheader("ack/plat.h")
|
2018-06-23 10:35:17 +00:00
|
|
|
addheader("ack/fcntl.h")
|
|
|
|
addheader("ack/signal.h")
|
2016-08-14 09:34:18 +00:00
|
|
|
addheader("sys/ioctl.h")
|
2018-06-23 10:35:17 +00:00
|
|
|
addheader("sys/types.h")
|
2016-08-14 09:34:18 +00:00
|
|
|
|
|
|
|
acklibrary {
|
|
|
|
name = "headers",
|
|
|
|
hdrs = headermap
|
|
|
|
}
|
|
|
|
|
|
|
|
installable {
|
|
|
|
name = "pkg",
|
|
|
|
map = packagemap
|
|
|
|
}
|
|
|
|
|
2018-06-23 10:35:17 +00:00
|
|
|
|