From 7fee7d263cfd49e94fa0890f0828cb5d194cdb00 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Wed, 9 Nov 2022 11:01:29 +0000 Subject: [PATCH] amdgpu: define __nmk_dir if missing This patch adds a missing definition for `__nmk_dir` in the Makefile for the amdgpu plugin. This definition is required, for example, when building the `test_topology_remap` target: make -C plugins/amdgpu/ test_topology_remap Signed-off-by: Radostin Stoyanov --- plugins/amdgpu/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/amdgpu/Makefile b/plugins/amdgpu/Makefile index 367a52c99..64a923d38 100644 --- a/plugins/amdgpu/Makefile +++ b/plugins/amdgpu/Makefile @@ -12,6 +12,7 @@ LIBDRM_INC := -I/usr/include/libdrm DEPS_OK := amdgpu_plugin.so amdgpu_plugin_test DEPS_NOK := ; +__nmk_dir ?= ../../scripts/nmk/scripts/ include $(__nmk_dir)msg.mk CC := gcc