summaryrefslogtreecommitdiffstats
path: root/poky/scripts/lib/recipetool/create_kmod.py
diff options
context:
space:
mode:
Diffstat (limited to 'poky/scripts/lib/recipetool/create_kmod.py')
-rw-r--r--poky/scripts/lib/recipetool/create_kmod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poky/scripts/lib/recipetool/create_kmod.py b/poky/scripts/lib/recipetool/create_kmod.py
index 4569b53c8..3982537a4 100644
--- a/poky/scripts/lib/recipetool/create_kmod.py
+++ b/poky/scripts/lib/recipetool/create_kmod.py
@@ -141,7 +141,7 @@ class KernelModuleRecipeHandler(RecipeHandler):
warnmsg = 'Unable to find means of passing kernel path into install makefile - if kernel path is hardcoded you will need to patch the makefile'
if warnmsg:
warnmsg += '. Note that the variable KERNEL_SRC will be passed in as the kernel source path.'
- logger.warn(warnmsg)
+ logger.warning(warnmsg)
lines_after.append('# %s' % warnmsg)
return True
OpenPOWER on IntegriCloud