aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2021-04-13 14:22:20 +0200
committerPaul Spooren <mail@aparcar.org>2021-05-25 19:46:13 +0200
commit54070a1f5cf355e908425d4a5787bb05bee22f25 (patch)
tree4120b75168851a62e185ee451bfcc9b10c4ece97 /toolchain
parent5f1338e9839bebe497672c4ca6c0bca4adccf3fa (diff)
downloadupstream-54070a1f5cf355e908425d4a5787bb05bee22f25.tar.gz
upstream-54070a1f5cf355e908425d4a5787bb05bee22f25.tar.bz2
upstream-54070a1f5cf355e908425d4a5787bb05bee22f25.zip
build: fix regression for kernels < 5.10
This fixes a regression introduced with commit 5ed1e5140a80558ab47fd70410ae3242bed5becf ("build: build kernel image before building modules/packages"). Before this commit the make target would always include "modules", resulting in a MODPOST and a complete Module.symvers file. Since this commit a MODPOST of the kernel modules is not guaranteed for kernels < 5.10. This results in some broken SDKs in which external packages that depend on exported symbols from kernel modules fail to compile. Adding "modules" back to the calls to the CompileImage defines fixes the regression. For kernels > 5.10 this is not needed, but it doesn't cause any harm either. Tested with kernels 5.4.x and 5.10.x. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Diffstat (limited to 'toolchain')
0 files changed, 0 insertions, 0 deletions