diff options
| author | Randy Dunlap <[email protected]> | 2018-09-06 23:37:24 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2018-09-09 00:14:07 +0000 |
| commit | f0b0d88a825149ef3b06656886bc211c71dcb852 (patch) | |
| tree | 33d72237d0d1933ec190493aaee20036dfa9b630 /arch/powerpc/lib/code-patching.c | |
| parent | kbuild: make missing $DEPMOD a Warning instead of an Error (diff) | |
| download | kernel-f0b0d88a825149ef3b06656886bc211c71dcb852.tar.gz kernel-f0b0d88a825149ef3b06656886bc211c71dcb852.zip | |
kbuild: modules_install: warn when missing System.map file
If there is no System.map file for "make modules_install",
scripts/depmod.sh will silently exit with success, having done
nothing. Since this is an unexpected situation, change it to
report a Warning for the missing file. The behavior is not
changed except for the Warning message.
The (previous) silent success and new Warning can be reproduced
by:
$ make mrproper; make defconfig
$ make modules; make modules_install
and since System.map is produced by "make vmlinux", the steps
above omit producing the System.map file.
Reported-by: Masahiro Yamada <[email protected]>
Signed-off-by: Randy Dunlap <[email protected]>
Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
