Skip to content

Comments

linux: Add support to build kernel from local path#225

Open
vishwasudupa wants to merge 1 commit intoqualcomm-linux:mainfrom
vishwasudupa:local-kernel-compilation
Open

linux: Add support to build kernel from local path#225
vishwasudupa wants to merge 1 commit intoqualcomm-linux:mainfrom
vishwasudupa:local-kernel-compilation

Conversation

@vishwasudupa
Copy link

optionally --kernel-src-path argument can be used to compile kernel from local path

optionally --kernel-src-path argument can be used to
compile kernel from local path

Signed-off-by: Vishwas Udupa <vudupa@qti.qualcomm.com>
@lool
Copy link
Contributor

lool commented Feb 6, 2026

Hey @vishwasudupa, sorry I am just seeing your PR now, I missed it when you submitted it (feel free to ping maintainers if a PR lingers for a while); starting a review

Copy link
Contributor

@lool lool left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good, if you could just tweak the flag name and help text, I think we're good

There was this also this linting failure, you need to wrap long lines:
https://github.com/qualcomm-linux/qcom-deb-images/actions/runs/21472670921/job/61848844844?pr=225

help="Use qcom-next repository and ref defaults",
)
parser.add_argument(
"--kernel-src-path",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps a bit verbose, how about --src, --source, or --local-dir? It looks like you had this as src-path before

if args.kernel_src_path:
src_path = Path(args.kernel_src_path)
if not src_path.exists():
fatal(f"Provided --src-path '{src_path}' does not exist")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this still says --src-path instead of --kernel-src-path

@lool
Copy link
Contributor

lool commented Feb 6, 2026

FYI, I'm also trying to land #229 which might conflict, sorry about that

@gagath
Copy link
Contributor

gagath commented Feb 18, 2026

Hello @vishwasudupa, I can take over this PR and rebase it + apply the suggested changes if this sounds fine to you. I happen to need to compile and patch local kernels so this would be a nice to have.

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.

3 participants