mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
The Makefile adds pidfd-metadata to "usertprogs-always-y", which kbuild
does not know, so the sample has not been built since the conversion to
userprogs, even with CONFIG_SAMPLE_PIDFD=y.
Fix the variable name. pidfd-metadata.c builds without warnings with
gcc and clang for x86_64 and arm64.
Fixes: 60fb0b1239 ("samples: pidfd: build sample program for target architecture")
Signed-off-by: Sasha Levin <[email protected]>
Link: https://patch.msgid.link/[email protected]
Reviewed-by: Christian Brauner <[email protected]>
Signed-off-by: Christian Brauner (Amutable) <[email protected]>
5 lines
103 B
Makefile
5 lines
103 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
userprogs-always-y += pidfd-metadata
|
|
|
|
userccflags += -I usr/include
|