Skip to content

Commit

Permalink
[squash] modpost: align KLP prefix
Browse files Browse the repository at this point in the history
Note: squash with ("modpost: Integrate klp-convert")

Pad the "KLP" modpost prefix so it aligns nicely:

  MODPOST 55 modules
  LD [M]  lib/livepatch/test_klp_convert.ko
  KLP lib/livepatch/test_klp_convert.ko

vs.

  MODPOST 55 modules
  LD [M]  lib/livepatch/test_klp_convert.ko
  KLP     lib/livepatch/test_klp_convert.ko

[joe: align KLP prefix]

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
  • Loading branch information
joe-lawrence committed Mar 18, 2019
1 parent ab82f72 commit 543aa6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/Makefile.modpost
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ quiet_cmd_ld_ko_o = LD [M] $@

SLIST = $(objtree)/Symbols.list
KLP_CONVERT = scripts/livepatch/klp-convert
quiet_cmd_klp_convert = KLP $@
quiet_cmd_klp_convert = KLP $@
cmd_klp_convert = mv $@ $(@:.ko=.klp.o); \
$(KLP_CONVERT) $(SLIST) $(@:.ko=.klp.o) $@

Expand Down

0 comments on commit 543aa6b

Please sign in to comment.