Thread (9 messages) flat view 9 messages, 3 authors, 2017-03-08

Re: [PATCH v3 2/2] powerpc: emulate_step tests for load/store instructions

From: Ravi Bangoria <hidden>
Date: 2017-02-14 11:39:06
Also in: lkml


On Tuesday 14 February 2017 04:16 PM, Michael Ellerman wrote:
Ravi Bangoria [off-list ref] writes:
quoted
diff --git a/arch/powerpc/lib/Makefile b/arch/powerpc/lib/Makefile
index 0e649d7..ddc879d 100644
--- a/arch/powerpc/lib/Makefile
+++ b/arch/powerpc/lib/Makefile
@@ -33,3 +33,7 @@ obj-$(CONFIG_ALTIVEC)	+= xor_vmx.o
 CFLAGS_xor_vmx.o += -maltivec $(call cc-option,-mabi=altivec)
 
 obj-$(CONFIG_PPC64) += $(obj64-y)
+
+ifeq ($(CONFIG_PPC64), y)
+obj-$(CONFIG_KPROBES_SANITY_TEST) += test_emulate_step.o
+endif
FYI, the right way to do that is:

  obj64-$(CONFIG_KPROBES_SANITY_TEST) += test_emulate_step.o
  obj-$(CONFIG_PPC64) += $(obj64-y)

And in this Makefile you don't need to add the second line because it's
already there.
Thanks for this. Will change accordingly and send next version.

Ravi
cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help