[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <367178.1589627756@turing-police>
Date:   Sat, 16 May 2020 07:15:56 -0400
From:   "Valdis Klētnieks" <valdis.kletnieks@...edu>
To:     David Howells <dhowells@...hat.com>,
        Masahiro Yamada <masahiroy@...nel.org>
cc:     linux-kernel@...r.kernel.org
Subject: [PATCH] watch_queue: sample: Update makefile to fix deprecated variables
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@...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
Powered by blists - more mailing lists
 
