Skip to content

kernel/scripts: refactor build_kernel.sh#89

Closed
xinlon-z wants to merge 2 commits intoqualcomm-linux:mainfrom
xinlon-z:main
Closed

kernel/scripts: refactor build_kernel.sh#89
xinlon-z wants to merge 2 commits intoqualcomm-linux:mainfrom
xinlon-z:main

Conversation

@xinlon-z
Copy link

  • improve error handling
  • add KERNEL_DIR env variable (default: qcom-next) for configurable kernel source directory
  • use OUT_PATH variable to replase "$BUILD_TOP/out"
  • replace fixed -j32 with dynamic -j$(nproc) for parallel build jobs
  • simplify DTB and module paths

example:
BUILD_TOP=$(pwd) KERNEL_DIR=qcom-next-6.18-rc7-20251204 ./qcom-build-utils/kernel/scripts/build_kernel.sh

- improve error handling
- add `KERNEL_DIR` env variable (default: qcom-next) for configurable kernel source directory
- use OUT_PATH variable to replase "$BUILD_TOP/out"
- replace fixed `-j32` with dynamic `-j$(nproc)` for parallel build jobs
- simplify DTB and module paths

Signed-off-by: Xinzheng Long <xinlon@qti.qualcomm.com>
@vishwasudupa
Copy link
Contributor

LGTM

Signed-off-by: xinlon-z <xinzheng.long@oss.qualcomm.com>
@xinlon-z xinlon-z closed this Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments