summaryrefslogtreecommitdiff
path: root/tools/sysexport
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-24 22:55:29 -0400
committerIan Moffett <ian@osmora.org>2024-06-24 22:55:29 -0400
commit236963e7563be3e3f8220dac7bb4af446928e194 (patch)
treee521ea226db0345bbb3679fffe09d96254b7dc73 /tools/sysexport
parent214eadc62b5578f76c98a38a28f8b3d80ac4d6ad (diff)
Clean out for expt
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'tools/sysexport')
-rwxr-xr-xtools/sysexport32
1 files changed, 0 insertions, 32 deletions
diff --git a/tools/sysexport b/tools/sysexport
deleted file mode 100755
index 8426e8d..0000000
--- a/tools/sysexport
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-#
-# To be ran during the build process to export
-# system headers
-#
-
-TARGET_DIR=lib/libc/include/sys
-SYS_DIR=../../../../sys/include/sys
-
-if [ -f $TARGET_DIR/.sys_export ]
-then
- exit 0
-fi
-
-. builddeps/sysexports
-
-echo "Exporting sys headers..."
-cd $TARGET_DIR
-
-for i in $sys_headers
-do
- if [ -s "$i" ]
- then
- echo "HEADER CONFLICT ($TARGET_DIR/$i)"
- continue
- fi
-
- echo "sys/include/sys/$i -> lib/libc/include/sys/$i"
- echo include/sys/$i >>.sys_export
- echo "$i" >>.gitignore
- ln -sf $SYS_DIR/$i .
-done