linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] watch_queue: sample: Update makefile to fix deprecated variables
@ 2020-05-16 11:15 Valdis Klētnieks
  2020-05-18 14:55 ` David Howells
  0 siblings, 1 reply; 2+ messages in thread
From: Valdis Klētnieks @ 2020-05-16 11:15 UTC (permalink / raw)
  To: David Howells, Masahiro Yamada; +Cc: linux-kernel

A recent commit started warning for deprecated makefile variables.
Turns out there was an in-tree user, so update it.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>

diff --git a/samples/watch_queue/Makefile b/samples/watch_queue/Makefile
index eec00dd0a8df..8511fb6c53d2 100644
--- a/samples/watch_queue/Makefile
+++ b/samples/watch_queue/Makefile
@@ -1,7 +1,7 @@
 # List of programs to build
-hostprogs-y := watch_test
+hostprogs := watch_test
 
 # Tell kbuild to always build the programs
-always := $(hostprogs-y)
+always-y := $(hostprogs)
 
 HOSTCFLAGS_watch_test.o += -I$(objtree)/usr/include


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

* Re: [PATCH] watch_queue: sample: Update makefile to fix deprecated variables
  2020-05-16 11:15 [PATCH] watch_queue: sample: Update makefile to fix deprecated variables Valdis Klētnieks
@ 2020-05-18 14:55 ` David Howells
  0 siblings, 0 replies; 2+ messages in thread
From: David Howells @ 2020-05-18 14:55 UTC (permalink / raw)
  To: Valdis =?utf-8?Q?Kl=c4=93tnieks?=; +Cc: dhowells, Masahiro Yamada, linux-kernel

Valdis Klētnieks <valdis.kletnieks@vt.edu> wrote:

> A recent commit started warning for deprecated makefile variables.
> Turns out there was an in-tree user, so update it.
> 
> Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>

I've folded this in, thanks.

David


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

end of thread, other threads:[~2020-05-18 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16 11:15 [PATCH] watch_queue: sample: Update makefile to fix deprecated variables Valdis Klētnieks
2020-05-18 14:55 ` David Howells

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).