mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 15:34:18 +08:00
Use make setenv in dual-boot script
This commit is contained in:
parent
02d9da0a3c
commit
0ca6293c1b
@ -18,17 +18,9 @@ then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "${ARCH}" ]
|
||||
then
|
||||
export ARCH="$(uname -m)"
|
||||
fi
|
||||
eval $(make setenv)
|
||||
|
||||
if [ -z "${CONFIG_NAME}" ]
|
||||
then
|
||||
export CONFIG_NAME=desktop
|
||||
fi
|
||||
|
||||
IMAGE="build/${ARCH}/${CONFIG_NAME}/filesystem.img"
|
||||
IMAGE="${BUILD}/filesystem.img"
|
||||
set -x
|
||||
rm -f "${IMAGE}"
|
||||
make "${IMAGE}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user