Commit d6d896f6 authored by Guido Gunther's avatar Guido Gunther
Browse files

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

This makes the overrides more useful
parent d104a779
...@@ -109,10 +109,10 @@ fi ...@@ -109,10 +109,10 @@ fi
if [ ! -e .config ]; then if [ ! -e .config ]; then
echo "Configuring kernel" echo "Configuring kernel"
if [ -e "arch/${ARCH}/configs/${DOT_CONFIG}" ]; then if [ -e "../${DOT_CONFIG}" ]; then
cp "arch/${ARCH}/configs/${DOT_CONFIG}" .config
cp "../${DOT_CONFIG}" .config cp "../${DOT_CONFIG}" .config
cp "arch/${ARCH}/configs/${DOT_CONFIG}" .config
fi fi
fi fi
Supports Markdown
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