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
13 changes: 8 additions & 5 deletions scripts/build-linux-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,18 @@ fi
log_i "Cloning Linux (${GIT_REPO}:${GIT_BRANCH})"
git clone --depth=1 --branch "${GIT_BRANCH}" "${GIT_REPO}" linux

cd linux

log_i "Configuring Linux (base config: ${CONFIG})"
rm -vf kernel/configs/local.config
rm -vf linux/kernel/configs/local.config
for fragment in "$@"; do
log_i "Adding config fragment to local.config: ${fragment}"
touch kernel/configs/local.config
cat "$fragment" >>kernel/configs/local.config
touch linux/kernel/configs/local.config
cat "$fragment" >>linux/kernel/configs/local.config
done

# only change working directory after having read config fragments passed on
# the command-line as these might be relative pathnames
cd linux

if [ -r kernel/configs/local.config]; then
make ARCH=arm64 "${CONFIG}" local.config
else
Expand Down
Loading