]> www.infradead.org Git - users/hch/configfs.git/commit
modpost: detect endianness on run-time
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 27 Jul 2024 07:42:02 +0000 (16:42 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 1 Sep 2024 11:33:32 +0000 (20:33 +0900)
commita660deb0f1f62214439640292cd7726f6ed8023d
treebc1fe9ba8a9be42934c5a65860c249150bab4855
parent4f32f799a950c7fffa17971177be42c79d74b69f
modpost: detect endianness on run-time

Endianness is currently detected on compile-time, but we can defer this
until run-time. This change avoids re-executing scripts/mod/mk_elfconfig
even if modpost in the linux-headers package needs to be rebuilt for a
foreign architecture.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
scripts/mod/mk_elfconfig.c
scripts/mod/modpost.c
scripts/mod/modpost.h