]> git.baikalelectronics.ru Git - kernel.git/commit
scripts/Makefile.modpost: error in finding modules from .mod files.
author이건호 <urpapa@gmail.com>
Wed, 29 Aug 2012 13:58:12 +0000 (22:58 +0900)
committerMichal Marek <mmarek@suse.cz>
Fri, 31 Aug 2012 15:37:54 +0000 (17:37 +0200)
commite1f5dae65df4069bbfad2c115dc91aa0d64905d0
treeaee3e025574ff38accd587e89f3e4c2876d693bf
parent460a1d50d3949de1ea9e42942d8cd08421828258
scripts/Makefile.modpost: error in finding modules from .mod files.

This error may happen when the user's id or path includes .ko string.
For example, user's id is xxx.ko and building test.ko module,
the test.mod file lists ko name and all object files.
   /home/xxx.ko/kernel_dev/device/drivers/test.ko
   /home/xxx.ko/kernel_dev/device/drivers/test_main.o
/home/xxx.ko/kernel_dev/device/drivers/test_io.o ...
Current Makefile.modpost and Makefile.modinst find and list up not
only test.ko but also other object files.
because all of object file's path includes .ko string.
This is a patch to fix it.

Signed-off-by: Gunho Lee <gunho.lee@lge.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/Makefile.modinst
scripts/Makefile.modpost