add cinit-0.3pre15
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
36de902919
commit
440caeb555
1013 changed files with 99995 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
# Nico Schottelius, 2006-07-28
|
||||
#
|
||||
# cinit: configure the ipc method to use
|
||||
#
|
||||
|
||||
HIER=$(dirname $0)
|
||||
DDIR=$HIER/../../src/ipc
|
||||
DFILE=${DDIR}/current
|
||||
IPC_METHOD=$(head -n 1 "$HIER/../../conf/ipc_method")
|
||||
|
||||
echo "Configure: IPC: Using \"$IPC_METHOD\" as IPC method"
|
||||
|
||||
# always remove link before, as ln seems to be broken
|
||||
# Doing ln -sf src/ipc/$method current twice, will create the file
|
||||
# "current" _BELOW_ src/ipc/$method and not overwrite the link
|
||||
# src/ipc/current
|
||||
|
||||
rm -f "${DFILE}"
|
||||
ln -sf "${IPC_METHOD}" "${DFILE}"
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
# Nico Schottelius
|
||||
# cinit: touch a file to mark everything configured
|
||||
# 2006-08-27
|
||||
#
|
||||
|
||||
echo "Configure: MK: Marking directory as configured"
|
||||
touch .configured
|
||||
15
software/cinit/browse_source/cinit-0.3pre15/scripts/build/cinit.configure.os
Executable file
15
software/cinit/browse_source/cinit-0.3pre15/scripts/build/cinit.configure.os
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
# Nico Schottelius
|
||||
# cinit: setups symlinks for the os
|
||||
#
|
||||
|
||||
DDIR=$(dirname $0)/../../src/os
|
||||
DFILE="$DDIR/current"
|
||||
OSCONFIG=$(dirname $0)/../../conf/os
|
||||
|
||||
OS=$(head -n 1 "$OSCONFIG")
|
||||
|
||||
echo "Configure: OS: Binaries are created for $OS ..."
|
||||
|
||||
rm -f "${DFILE}"
|
||||
ln -sf "${OS}" "${DFILE}"
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/sh
|
||||
# Nico Schottelius
|
||||
# cinit: setups scripts for compiling and linking
|
||||
#
|
||||
|
||||
HIER=$(dirname $0)
|
||||
DDIR=$HIER/../../tmpbin/
|
||||
CC=$(head -n 1 "$HIER/../../conf/cc")
|
||||
CFLAGS=$(head -n 1 "$HIER/../../conf/cflags")
|
||||
LD=$(head -n 1 "$HIER/../../conf/ld")
|
||||
LDFLAGS=$(head -n 1 "$HIER/../../conf/ldflags")
|
||||
STRIP=$(head -n 1 "$HIER/../../conf/strip")
|
||||
|
||||
echo "Configure: CC: Creating cc, ld and strip ..."
|
||||
|
||||
mkdir -p "$DDIR"
|
||||
cd "$DDIR"
|
||||
|
||||
echo "$CC $CFLAGS \"\$@\"" > cc
|
||||
echo "$LD $LDFLAGS \"\$@\"" > ld
|
||||
echo "$STRIP \"\$@\"" > strip
|
||||
|
||||
# set correct permissions
|
||||
chmod 0700 *
|
||||
Loading…
Add table
Add a link
Reference in a new issue