Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv13957/scripts
Added Files:
dev86
Log Message:
- added dev86 to build environment
--- NEW FILE: dev86 ---
#!/bin/bash
# $Source: /cvsroot/devil-linux/build/scripts/dev86,v $
# $Revision: 1.2 $
# $Date: 2008/06/25 17:13:17 $
#
# http://www.devil-linux.org
# you need the next line, otherwise script won't be executed !!!
# DL-build-system v3
### BEGIN INIT INFO
# Provides: dev86
# Required-Start: gcc binutils libtool nasm
# Required-Stop:
# Default-Start: 1
# Default-Stop:
# Description: description
### END INIT INFO
# get the directoryname of the script
MYDIR=${0%/*}
# source functions and config
source $MYDIR/settings
case $1 in
build )
if [ "$CONFIG_GCC_HARDENED" = "y" ]; then
make $PMAKE CC="gcc -U_FORTIFY_SOURCE -fno-PIE -nopie -fno-stack-protector" all || exit 1
else
make $PMAKE all || exit 1
fi
strip_debug
# we have to install this immediately, because this is program could be needed by other sources
make install || exit 1
;;
* )
echo "ERROR ($0)"
echo "please add parameter so I know what to do"
exit 1
;;
esac
|