summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-10-25 22:51:40 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-10-25 22:51:40 +0000
commit7c4607a2574ee5bfa1661634d9bbd7520b9b1f50 (patch)
treec247b5d667fa0216986957eac0ec201c02475f3d /extra
parentca2b43ffed231af73075b6508891a8e6c46cbb93 (diff)
Add script to create the minimal subset of symlinks
Diffstat (limited to 'extra')
-rwxr-xr-xextra/scripts/create_links.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/scripts/create_links.sh b/extra/scripts/create_links.sh
new file mode 100755
index 000000000..86a0867dc
--- /dev/null
+++ b/extra/scripts/create_links.sh
@@ -0,0 +1,24 @@
+#! /bin/sh
+#
+# Creates the minimally necessary links to build w/ the Makefile.in files
+
+DIRS="ldso libc libcrypt libintl libm libnsl libpthread libresolv librt libutil"
+DIRS2="ldso/ldso ldso/libdl libpthread/linuxthreads libpthread/linuxthreads_db"
+OBJ4="common arm i386 mips powerpc x86_64"
+
+for x in ${DIRS} ; do
+ rm -f ${x}/Makefile
+ ln -sf ../extra/scripts/Makefile.libs.lvl1 ${x}/Makefile
+done
+
+for x in ${DIRS2} ; do
+ rm -f ${x}/Makefile
+ ln -sf ../../extra/scripts/Makefile.libs.lvl2 ${x}/Makefile
+done
+
+for x in ${OBJ4} ; do
+ rm -f libc/sysdeps/linux/${x}/Makefile
+ ln -sf ../../../../extra/scripts/Makefile.objs.lvl4 libc/sysdeps/linux/${x}/Makefile
+done
+
+exit 0