Commit d6d896f6 authored by Guido Gunther's avatar Guido Gunther

build-kernel: Prefer local config over ones shipped in kernel sources

This makes the overrides more useful
parent d104a779
......@@ -109,10 +109,10 @@ 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
else
cp "arch/${ARCH}/configs/${DOT_CONFIG}" .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