aboutsummaryrefslogtreecommitdiff
path: root/core/ubase/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-13 23:13:19 +0300
committerCem Keylan <cem@ckyln.com>2020-01-13 23:13:19 +0300
commit3e90bcf9811dd3dc5d397fbfe18d0ed84a4fac65 (patch)
treee181ca1b4ed5e5b38c0d17da89b259860798d3c1 /core/ubase/build
parent11b53c25d767fa16671bc0b42158e61c7a2de19f (diff)
downloadrepository-3e90bcf9811dd3dc5d397fbfe18d0ed84a4fac65.tar.gz
repository: move ubase and sinit to core
Diffstat (limited to 'core/ubase/build')
-rwxr-xr-xcore/ubase/build4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/ubase/build b/core/ubase/build
new file mode 100755
index 00000000..09de00fb
--- /dev/null
+++ b/core/ubase/build
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+make CFLAGS="$CFLAGS -static" ubase-box
+install -Dm755 ubase-box "$1/usr/bin/ubase-box"