License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / tools / testing / selftests / ipc / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
3a665531
SK
2uname_M := $(shell uname -m 2>/dev/null || echo not)
3ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/i386/)
4ifeq ($(ARCH),i386)
498b473a 5 ARCH := x86
3a665531
SK
6 CFLAGS := -DCONFIG_X86_32 -D__i386__
7endif
8ifeq ($(ARCH),x86_64)
498b473a 9 ARCH := x86
3a665531
SK
10 CFLAGS := -DCONFIG_X86_64 -D__x86_64__
11endif
12
13CFLAGS += -I../../../../usr/include/
14
88baa78d 15TEST_GEN_PROGS := msgque
5e29a910
ME
16
17include ../lib.mk
3a665531 18