Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion utils/generate-defconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ for change in $changes; do
done

TMPDIR=`mktemp -d`
$MERGE_CONFIG -O "$TMPDIR" "$base" "$changes"

# Concatenate the changes with awk. This terminates every line, so a file
# without a trailing newline won't glue its last line to the next file's first.
awk '{print}' $changes > "$TMPDIR/changes.conf"
$MERGE_CONFIG -O "$TMPDIR" "$base" "$TMPDIR/changes.conf"

O="$TMPDIR" make savedefconfig
mv "$TMPDIR"/defconfig "$output"
Expand Down