Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel build counter; which file involved?[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3954

PostPosted: Wed Jul 24, 2024 8:32 am    Post subject: kernel build counter; which file involved?[solved] Reply with quote

Obviously, there is a file counter in /usr/src/gentoo-linux-X.Y.Z-gentoo
which is incremented unter some condition, as echoed in the snippet:
Code:
Kernel: arch/x86/boot/bzImage is ready  (#33)

Where is this #33 value stored?

Side note: executing 'make clean' doesn't reset.

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "


Last edited by CaptainBlood on Wed Jul 24, 2024 9:11 am; edited 2 times in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3954

PostPosted: Wed Jul 24, 2024 8:58 am    Post subject: Reply with quote

arch/x86/boot/Makefile snippet:
Code:
$(obj)/bzImage: $(obj)/setup.bin $(obj)/vmlinux.bin $(obj)/tools/build FORCE
        $(call if_changed,image)
        @$(kecho) 'Kernel: $@ is ready' ' (#'$(or $(KBUILD_BUILD_VERSION),`cat .version`)')'
Code:
cat /usr/src/linux-6.9.10-gentoo/.version
34

Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here, i.e. a countermeasure to portage implicit braces, belt & diaper paradigm
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum