selftests: drivers: Fix incorrect kernel headers search path
[platform/kernel/linux-starfive.git] / tools / testing / selftests / drivers / s390x / uvdevice / Makefile
1 include ../../../../../build/Build.include
2
3 UNAME_M := $(shell uname -m)
4
5 ifneq ($(UNAME_M),s390x)
6 nothing:
7 .PHONY: all clean run_tests install
8 .SILENT:
9 else
10
11 TEST_GEN_PROGS := test_uvdevice
12
13 top_srcdir ?= ../../../../../..
14 LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/$(ARCH)/include
15
16 CFLAGS += -Wall -Werror -static $(KHDR_INCLUDES) -I$(LINUX_TOOL_ARCH_INCLUDE)
17
18 include ../../../lib.mk
19
20 endif