Skip to content

Commit

Permalink
Set KBUILD_MODPOST_WARN to downgrade modpost errors to warnings
Browse files Browse the repository at this point in the history
Behavior change from 6.2 to 6.6, extmod builds no longer downgrade modpost
errors to warnings by default
  • Loading branch information
jerryz123 committed Jul 15, 2024
1 parent f8b5eba commit 9da1676
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wlutil/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,8 @@ def makeModules(cfg):
["modules_prepare", '-j' + str(wlutil.getOpt('jlevel'))],
cwd=linCfg['source'])

makeCmd = "make LINUXSRC=" + str(linCfg['source'])
# MODPOST errors are warnings, since we built the extmods without building the kernel first
makeCmd = "make KBUILD_MODPOST_WARN=1 LINUXSRC=" + str(linCfg['source'])

for driverDir in linCfg['modules'].values():
wlutil.checkSubmodule(driverDir)
Expand Down

0 comments on commit 9da1676

Please sign in to comment.