linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] selftests: powerpc: Fix warning for security subdir
@ 2018-10-22 12:09 Joel Stanley
  2018-10-31 15:38 ` Naveen N. Rao
  2018-11-01 12:46 ` Michael Ellerman
  0 siblings, 2 replies; 3+ messages in thread
From: Joel Stanley @ 2018-10-22 12:09 UTC (permalink / raw)
  To: linuxppc-dev

typing 'make' inside tools/testing/selftests/powerpc gave a build
warning:

BUILD_TARGET=tools/testing/selftests/powerpc/security; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C security all
make[1]: Entering directory 'tools/testing/selftests/powerpc/security'
../../lib.mk:20: ../../../../scripts/subarch.include: No such file or directory
make[1]: *** No rule to make target '../../../../scripts/subarch.include'.
make[1]: Failed to remake makefile '../../../../scripts/subarch.include'.

The build is one level deeper than lib.mk thinks it is. Set top_srcdir
to set things straight.

Note that the test program is still built.

Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 tools/testing/selftests/powerpc/security/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/powerpc/security/Makefile b/tools/testing/selftests/powerpc/security/Makefile
index 44690f1bb26a..85861c46b445 100644
--- a/tools/testing/selftests/powerpc/security/Makefile
+++ b/tools/testing/selftests/powerpc/security/Makefile
@@ -1,6 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0+
 
 TEST_GEN_PROGS := rfi_flush
+top_srcdir = ../../../../..
 
 CFLAGS += -I../../../../../usr/include
 
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] selftests: powerpc: Fix warning for security subdir
  2018-10-22 12:09 [PATCH] selftests: powerpc: Fix warning for security subdir Joel Stanley
@ 2018-10-31 15:38 ` Naveen N. Rao
  2018-11-01 12:46 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Naveen N. Rao @ 2018-10-31 15:38 UTC (permalink / raw)
  To: Joel Stanley, linuxppc-dev

Joel Stanley wrote:
> typing 'make' inside tools/testing/selftests/powerpc gave a build
> warning:
> 
> BUILD_TARGET=tools/testing/selftests/powerpc/security; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C security all
> make[1]: Entering directory 'tools/testing/selftests/powerpc/security'
> ../../lib.mk:20: ../../../../scripts/subarch.include: No such file or directory
> make[1]: *** No rule to make target '../../../../scripts/subarch.include'.
> make[1]: Failed to remake makefile '../../../../scripts/subarch.include'.
> 
> The build is one level deeper than lib.mk thinks it is. Set top_srcdir
> to set things straight.
> 
> Note that the test program is still built.
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>

Thanks.
Tested-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: selftests: powerpc: Fix warning for security subdir
  2018-10-22 12:09 [PATCH] selftests: powerpc: Fix warning for security subdir Joel Stanley
  2018-10-31 15:38 ` Naveen N. Rao
@ 2018-11-01 12:46 ` Michael Ellerman
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Ellerman @ 2018-11-01 12:46 UTC (permalink / raw)
  To: Joel Stanley, linuxppc-dev

On Mon, 2018-10-22 at 12:09:26 UTC, Joel Stanley wrote:
> typing 'make' inside tools/testing/selftests/powerpc gave a build
> warning:
> 
> BUILD_TARGET=tools/testing/selftests/powerpc/security; mkdir -p $BUILD_TARGET; make OUTPUT=$BUILD_TARGET -k -C security all
> make[1]: Entering directory 'tools/testing/selftests/powerpc/security'
> ../../lib.mk:20: ../../../../scripts/subarch.include: No such file or directory
> make[1]: *** No rule to make target '../../../../scripts/subarch.include'.
> make[1]: Failed to remake makefile '../../../../scripts/subarch.include'.
> 
> The build is one level deeper than lib.mk thinks it is. Set top_srcdir
> to set things straight.
> 
> Note that the test program is still built.
> 
> Signed-off-by: Joel Stanley <joel@jms.id.au>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/a0aebae07f211c05d64be886e56d35

cheers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-01 12:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-22 12:09 [PATCH] selftests: powerpc: Fix warning for security subdir Joel Stanley
2018-10-31 15:38 ` Naveen N. Rao
2018-11-01 12:46 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).