Commit 12dc2278 authored by Guido Günther's avatar Guido Günther

build-kernel: Run oldconfig for copied in configs

Configs not residing in the kernel tree can be defconfigs too
if we run oldconfig afterwards.
parent 239b6cfc
......@@ -111,6 +111,7 @@ if [ ! -e .config ]; then
echo "Configuring kernel"
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
......
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