Skip to content

Commit c5fcdbf

Browse files
masahir0yIngo Molnar
authored andcommitted
x86/build/vdso: Simplify 'cmd_vdso2c'
No reason to use 'define' directive here. Just use the = operator. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/1530582614-5173-3-git-send-email-yamada.masahiro@socionext.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent b5722a4 commit c5fcdbf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

arch/x86/entry/vdso/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ HOST_EXTRACFLAGS += -I$(srctree)/tools/include -I$(srctree)/include/uapi -I$(src
5858
hostprogs-y += vdso2c
5959

6060
quiet_cmd_vdso2c = VDSO2C $@
61-
define cmd_vdso2c
62-
$(obj)/vdso2c $< $(<:%.dbg=%) $@
63-
endef
61+
cmd_vdso2c = $(obj)/vdso2c $< $(<:%.dbg=%) $@
6462

6563
$(obj)/vdso-image-%.c: $(obj)/vdso%.so.dbg $(obj)/vdso%.so $(obj)/vdso2c FORCE
6664
$(call if_changed,vdso2c)

0 commit comments

Comments
 (0)