1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2025-02-24 15:55:41 -05:00
kernel/configure

17 lines
213 B
Text
Raw Normal View History

2017-11-04 06:51:56 +00:00
#!/bin/sh -e
2017-11-04 07:00:44 +00:00
ENV="$1"
if [ -z "$ENV" ]; then
2017-11-08 08:49:56 +00:00
ENV='build-x86'
2017-11-04 07:00:44 +00:00
fi
CONFIG="env/$ENV.mk"
if [ ! -f "$CONFIG" ]; then
echo >&2 "ERROR: file "$CONFIG" does not exist"
exit 1
fi
cp "$CONFIG" 'config.mk'