All of lore.kernel.org
 help / color / mirror / Atom feed
From: joel at jms.id.au (Joel Stanley)
Subject: [PATCH 5/6] selftests: powerpc/signal: Fix signal_tm CFLAGS
Date: Tue, 23 Oct 2018 16:46:56 +1030	[thread overview]
Message-ID: <20181023061657.18007-6-joel@jms.id.au> (raw)
In-Reply-To: <20181023061657.18007-1-joel@jms.id.au>

signal_tm tries to build with -mhtm but it currently does not.

The targets is modified in lib.mk to add the $(OUTPUT) prefix. The
makefile needs to specify that modifying the rules, or else it does
not match and we miss out on the extra flag.

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

diff --git a/tools/testing/selftests/powerpc/signal/Makefile b/tools/testing/selftests/powerpc/signal/Makefile
index 25d0973df5b3..209a958dca12 100644
--- a/tools/testing/selftests/powerpc/signal/Makefile
+++ b/tools/testing/selftests/powerpc/signal/Makefile
@@ -2,7 +2,7 @@
 TEST_GEN_PROGS := signal signal_tm
 
 CFLAGS += -maltivec
-signal_tm: CFLAGS += -mhtm
+$(OUTPUT)/signal_tm: CFLAGS += -mhtm
 
 top_srcdir = ../../../../..
 include ../../lib.mk
-- 
2.19.1

WARNING: multiple messages have this Message-ID (diff)
From: joel@jms.id.au (Joel Stanley)
Subject: [PATCH 5/6] selftests: powerpc/signal: Fix signal_tm CFLAGS
Date: Tue, 23 Oct 2018 16:46:56 +1030	[thread overview]
Message-ID: <20181023061657.18007-6-joel@jms.id.au> (raw)
Message-ID: <20181023061656.fIdv43dz6TUJF4mOgzpXHKR2RPh_tvS2sEn14ILctBQ@z> (raw)
In-Reply-To: <20181023061657.18007-1-joel@jms.id.au>

signal_tm tries to build with -mhtm but it currently does not.

The targets is modified in lib.mk to add the $(OUTPUT) prefix. The
makefile needs to specify that modifying the rules, or else it does
not match and we miss out on the extra flag.

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

diff --git a/tools/testing/selftests/powerpc/signal/Makefile b/tools/testing/selftests/powerpc/signal/Makefile
index 25d0973df5b3..209a958dca12 100644
--- a/tools/testing/selftests/powerpc/signal/Makefile
+++ b/tools/testing/selftests/powerpc/signal/Makefile
@@ -2,7 +2,7 @@
 TEST_GEN_PROGS := signal signal_tm
 
 CFLAGS += -maltivec
-signal_tm: CFLAGS += -mhtm
+$(OUTPUT)/signal_tm: CFLAGS += -mhtm
 
 top_srcdir = ../../../../..
 include ../../lib.mk
-- 
2.19.1

WARNING: multiple messages have this Message-ID (diff)
From: Joel Stanley <joel@jms.id.au>
To: linuxppc-dev@lists.ozlabs.org
Cc: linux-kselftest@vger.kernel.org
Subject: [PATCH 5/6] selftests: powerpc/signal: Fix signal_tm CFLAGS
Date: Tue, 23 Oct 2018 16:46:56 +1030	[thread overview]
Message-ID: <20181023061657.18007-6-joel@jms.id.au> (raw)
In-Reply-To: <20181023061657.18007-1-joel@jms.id.au>

signal_tm tries to build with -mhtm but it currently does not.

The targets is modified in lib.mk to add the $(OUTPUT) prefix. The
makefile needs to specify that modifying the rules, or else it does
not match and we miss out on the extra flag.

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

diff --git a/tools/testing/selftests/powerpc/signal/Makefile b/tools/testing/selftests/powerpc/signal/Makefile
index 25d0973df5b3..209a958dca12 100644
--- a/tools/testing/selftests/powerpc/signal/Makefile
+++ b/tools/testing/selftests/powerpc/signal/Makefile
@@ -2,7 +2,7 @@
 TEST_GEN_PROGS := signal signal_tm
 
 CFLAGS += -maltivec
-signal_tm: CFLAGS += -mhtm
+$(OUTPUT)/signal_tm: CFLAGS += -mhtm
 
 top_srcdir = ../../../../..
 include ../../lib.mk
-- 
2.19.1


  parent reply	other threads:[~2018-10-23  6:16 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-23  6:16 [PATCH 0/6] selftests: powerpc build fixes joel
2018-10-23  6:16 ` Joel Stanley
2018-10-23  6:16 ` Joel Stanley
2018-10-23  6:16 ` [PATCH 1/6] selftests: powerpc/ptrace: Make tests build joel
2018-10-23  6:16   ` Joel Stanley
2018-10-23  6:16   ` Joel Stanley
2018-10-23  6:16 ` [PATCH 2/6] selftests: powerpc/ptrace: Remove clean rule joel
2018-10-23  6:16   ` Joel Stanley
2018-10-23  6:16   ` Joel Stanley
2018-10-23  6:16 ` [PATCH 3/6] selftests: powerpc/ptrace: Fix linking against pthread joel
2018-10-23  6:16   ` Joel Stanley
2018-10-23  6:16   ` Joel Stanley
2018-10-23  6:16 ` [PATCH 4/6] selftests: powerpc/signal: Make tests build joel
2018-10-23  6:16   ` Joel Stanley
2018-10-23  6:16   ` Joel Stanley
2018-10-23  6:16 ` joel [this message]
2018-10-23  6:16   ` [PATCH 5/6] selftests: powerpc/signal: Fix signal_tm CFLAGS Joel Stanley
2018-10-23  6:16   ` Joel Stanley
2018-10-23  6:16 ` [PATCH 6/6] selftests: powerpc/pmu: Link ebb tests with -no-pie joel
2018-10-23  6:16   ` Joel Stanley
2018-10-23  6:16   ` Joel Stanley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181023061657.18007-6-joel@jms.id.au \
    --to=unknown@example.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.