summaryrefslogtreecommitdiff
path: root/data/developer-cmds/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/developer-cmds/make.sh')
-rw-r--r--data/developer-cmds/make.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/data/developer-cmds/make.sh b/data/developer-cmds/make.sh
new file mode 100644
index 000000000..e797a1702
--- /dev/null
+++ b/data/developer-cmds/make.sh
@@ -0,0 +1,11 @@
+pkg:extract
+cd *
+pkg: mkdir -p /usr/bin
+
+arm-apple-darwin-gcc -o hexdump/hexdump hexdump/{conv,display,hexdump,hexsyntax,odsyntax,parse}.c -D'__FBSDID(x)='
+pkg: cp -a hexdump/hexdump /usr/bin
+
+for bin in ctags error rpcgen unifdef; do
+ arm-apple-darwin-gcc -o "${bin}/${bin}" "${bin}"/*.c
+ pkg: cp -a "${bin}/${bin}" /usr/bin
+done