48e74f46fc
which can be emulated using qemu (for, hopefully, a test suite). Currently it generates images which won't run because there's no RAM.
25 lines
349 B
Lua
25 lines
349 B
Lua
include("plat/build.lua")
|
|
|
|
headermap = {}
|
|
packagemap = {}
|
|
|
|
local function addheader(h)
|
|
headermap[h] = "./"..h
|
|
packagemap["$(PLATIND)/qemuppc/include/"..h] = "./"..h
|
|
end
|
|
|
|
addheader("ack/config.h")
|
|
addheader("sys/ioctl.h")
|
|
addheader("unistd.h")
|
|
|
|
acklibrary {
|
|
name = "headers",
|
|
hdrs = headermap
|
|
}
|
|
|
|
installable {
|
|
name = "pkg",
|
|
map = packagemap
|
|
}
|
|
|