Commit 12dc2278 authored by Guido Gunther's avatar Guido Gunther
Browse files

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
Pipeline #3753 passed with stage
in 18 seconds
......@@ -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
......
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