Dump the environment for reference.

Add a function to add customization commands.
This commit is contained in:
Poul-Henning Kamp 2005-09-19 20:55:44 +00:00
parent e606a3c63e
commit cf61a39e6c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150343

View File

@ -84,6 +84,7 @@ clean_build ( ) (
rm -rf ${MAKEOBJDIRPREFIX}
fi
mkdir -p ${MAKEOBJDIRPREFIX}
printenv > ${MAKEOBJDIRPREFIX}/_.env
)
make_conf_build ( ) (
@ -343,6 +344,12 @@ create_i386_diskimage ( ) (
#
#######################################################################
#######################################################################
customize_cmd () {
NANO_CUSTOMIZE="$NANO_CUSTOMIZE $1"
}
#######################################################################
# Parse arguments
@ -368,7 +375,6 @@ do
esac
done
#######################################################################
# Internal variables
if [ "x${NANO_OBJ}" = "x" ] ; then
@ -404,7 +410,7 @@ export NANO_SRC
export NANO_WORLDDIR
#######################################################################
# Set up object directory
# As simple as that...
clean_build
make_conf_build