aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/bam.lua
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-15 23:12:14 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-15 23:12:14 +0200
commit32407e728971006ed3d0885e01c22fb66c8adc57 (patch)
tree89483d39e8e2638383f815d4e73b647334fe2fe9 /src/sysbin/bam.lua
parentba4e59a1d687173ac5cfa74d26d71d6059dc6bc6 (diff)
downloadkogata-32407e728971006ed3d0885e01c22fb66c8adc57.tar.gz
kogata-32407e728971006ed3d0885e01c22fb66c8adc57.zip
Move stuff around, again
Diffstat (limited to 'src/sysbin/bam.lua')
-rw-r--r--src/sysbin/bam.lua15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/sysbin/bam.lua b/src/sysbin/bam.lua
index d223beb..d9d5846 100644
--- a/src/sysbin/bam.lua
+++ b/src/sysbin/bam.lua
@@ -5,20 +5,19 @@ local function sysbin_settings(name)
return s
end
-local function sysbin_exe(name, moredeps)
+local function sysbin_exe(name, deps)
local s = sysbin_settings(name)
local src = Collect('src/sysbin/' .. name .. '/*.c')
local obj = Compile(s, src)
- return Link(s, 'sysbin/' .. name .. ".bin", {obj, libkogata, moredeps})
+ return Link(s, 'sysbin/' .. name .. ".bin", {obj, deps})
end
sysbin = {
- sysbin_exe('init'),
- sysbin_exe('giosrv'),
- sysbin_exe('login'),
- sysbin_exe('terminal'),
- --sysbin_exe('shell', {liblua, liblualib}),
- sysbin_exe('shell'),
+ sysbin_exe('init', {libkogata}),
+ sysbin_exe('giosrv', {libkogata}),
+ sysbin_exe('login', {libkogata}),
+ sysbin_exe('terminal', {libkogata}),
+ sysbin_exe('shell', {libkogata}),
}