Dump the environment for reference.
Add a function to add customization commands.
This commit is contained in:
parent
e606a3c63e
commit
cf61a39e6c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user