WSL2-Linux-Kernel/scripts/mod
Sam Ravnborg 4ce6efed48 kbuild: soften modpost checks when doing cross builds
The module alias support in the kernel have a consistency
check where it is checked that the size of a structure
in the kernel and on the build host are the same.
For cross builds this check does not make sense so detect
when we do cross builds and silently skip the check in these
situations.
This fixes a build bug for a wireless driver when cross building
for arm.

Acked-by: Michael Buesch <mb@bu3sch.de>
Tested-by: Gordon Farquharson <gordonfarquharson@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: stable@kernel.org
2008-03-23 21:38:54 +01:00
..
.gitignore Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
empty.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
file2alias.c kbuild: soften modpost checks when doing cross builds 2008-03-23 21:38:54 +01:00
mk_elfconfig.c blackfin architecture 2007-05-07 12:12:58 -07:00
modpost.c kbuild: soften modpost checks when doing cross builds 2008-03-23 21:38:54 +01:00
modpost.h kbuild: soften modpost checks when doing cross builds 2008-03-23 21:38:54 +01:00
sumversion.c kbuild: include limits.h in sumversion.c for PATH_MAX 2007-05-19 09:10:59 +02:00