Skip to content

scripts: dump-target-info print kernel versions #4743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

aparcar
Copy link
Member

@aparcar aparcar commented Nov 3, 2021

This commits adds the ability to print Kernel versions of all
targets/subtargets. If a testing Kernel is set print that version as
well.

Example output:

apm821xx/nand 5.10
apm821xx/sata 5.10
arc770/generic 5.4
archs38/generic 5.4
armvirt/32 5.10
armvirt/64 5.10
at91/sam9x 5.10
at91/sama5 5.10
ath25/generic 5.4
ath79/generic 5.4 5.10
ath79/mikrotik 5.4 5.10
--- %< ---

This should help to get a quick update on the state of Kernels.

Signed-off-by: Paul Spooren mail@aparcar.org

@jow- since there are 100 ways to solve the same problem in Perl I'm sure you're aware of 99 ways to improve this. Please let me know.

This commits adds the ability to print Kernel versions of all
targets/subtargets. If a testing Kernel is set print that version as
well.

Example output:

    apm821xx/nand 5.10
    apm821xx/sata 5.10
    arc770/generic 5.4
    archs38/generic 5.4
    armvirt/32 5.10
    armvirt/64 5.10
    at91/sam9x 5.10
    at91/sama5 5.10
    ath25/generic 5.4
    ath79/generic 5.4 5.10
    ath79/mikrotik 5.4 5.10
    --- %< ---

This should help to get a quick update on the state of Kernels.

Signed-off-by: Paul Spooren <mail@aparcar.org>
@aparcar aparcar requested a review from jow- November 3, 2021 02:27
@mans0n mans0n added the build/scripts/tools pull request/issues for build, scripts and tools related changes label Nov 5, 2021
@jow-
Copy link
Contributor

jow- commented Dec 13, 2021

LGTM

@aparcar
Copy link
Member Author

aparcar commented Dec 29, 2021

Merged.

@aparcar aparcar closed this Dec 29, 2021
@ynezz
Copy link
Member

ynezz commented Jun 27, 2022

@aparcar FYI it seems, like it probably doesn't handle subtargets properly, for example x86 and ipq40xx:

ipq40xx/chromium 5.10
ipq40xx/generic 5.10
ipq40xx/mikrotik 5.10
ipq806x/generic 5.10

x86/64 5.10
x86/generic 5.10
x86/geode 5.10
x86/legacy 5.10

as those targets have currently 5.15 available:

$ grep KERNEL_TESTING_PATCHVER target/linux/{ipq40xx,x86}/Makefile 
target/linux/ipq40xx/Makefile:KERNEL_TESTING_PATCHVER:=5.15
target/linux/x86/Makefile:KERNEL_TESTING_PATCHVER:=5.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build/scripts/tools pull request/issues for build, scripts and tools related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants