Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

makefile: allow overriding KVER#29

Open
Kladki wants to merge 1 commit intohmtheboy154:mainfrom
Kladki:allow-overriding-kver
Open

makefile: allow overriding KVER#29
Kladki wants to merge 1 commit intohmtheboy154:mainfrom
Kladki:allow-overriding-kver

Conversation

@Kladki
Copy link
Copy Markdown

@Kladki Kladki commented Feb 9, 2026

This is useful when the kernel you're targeting is different from the host's kernel, like when building containers.

@a5a5aa555oo
Copy link
Copy Markdown

@Kladki

What do you think about KVER ?= $(shell uname -r)?

@Kladki
Copy link
Copy Markdown
Author

Kladki commented Feb 9, 2026

I don't really mind. I'm not really familiar with make, but from my understanding is that ?= isn't egarly evaluated, but := is, so I didn't want to change the behaviour. But if ?= works, I can do that.

This is useful when the kernel you're targeting is different from the host's kernel, like when building containers
@Kladki Kladki force-pushed the allow-overriding-kver branch from 70a46d2 to da00898 Compare February 10, 2026 12:09
@Kladki
Copy link
Copy Markdown
Author

Kladki commented Feb 10, 2026

Seems your suggestion doesn't change behaviour, so I did that instead, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants