Commit 421e2d34 authored by Angus Ainslie's avatar Angus Ainslie

Merge branch 'defconfig' into 'master'

kernel: Process defconfig files

See merge request !83
parents d104a779 12dc2278
Pipeline #4075 passed with stage
in 19 seconds
......@@ -109,10 +109,11 @@ fi
if [ ! -e .config ]; then
echo "Configuring kernel"
if [ -e "arch/${ARCH}/configs/${DOT_CONFIG}" ]; then
cp "arch/${ARCH}/configs/${DOT_CONFIG}" .config
else
if [ -e "../${DOT_CONFIG}" ]; then
cp "../${DOT_CONFIG}" .config
make "${MAKE_OPTS[@]}" ARCH="${ARCH}" CROSS_COMPILE="${CROSS_COMPILER}" oldconfig
else
make "${MAKE_OPTS[@]}" ARCH="${ARCH}" CROSS_COMPILE="${CROSS_COMPILER}" "${DOT_CONFIG}"
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment