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

Merge branch 'defconfig' into 'master'

kernel: Process defconfig files

See merge request Librem5/image-builder!83
parents d104a779 12dc2278
......@@ -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
......
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