Skip to contentSkip to conversation

watch_queue: sample: Update makefile to fix deprecated variables

PATCH In review Valdis Klētnieks 2 participants 2 messages May 16, 2020 – May 18, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

samples/watch_queue/Makefile +2 -2
index eec00dd0a8df..8511fb6c53d2 100644
@@ -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