aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/s390x/uvdevice/Makefile
blob: 5e701d2708d45fdc1530f965d191ddb8212f6fbc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include ../../../../../build/Build.include

UNAME_M := $(shell uname -m)

ifneq ($(UNAME_M),s390x)
nothing:
.PHONY: all clean run_tests install
.SILENT:
else

TEST_GEN_PROGS := test_uvdevice

top_srcdir ?= ../../../../../..
KSFT_KHDR_INSTALL := 1
khdr_dir = $(top_srcdir)/usr/include
LINUX_TOOL_ARCH_INCLUDE = $(top_srcdir)/tools/arch/$(ARCH)/include

CFLAGS += -Wall -Werror -static -I$(khdr_dir) -I$(LINUX_TOOL_ARCH_INCLUDE)

include ../../../lib.mk

endif