treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / tools / testing / selftests / ipc / Makefile
blob1c4448a843a41e38d55b7260bd8807896898e15e
1 # SPDX-License-Identifier: GPL-2.0
2 uname_M := $(shell uname -m 2>/dev/null || echo not)
3 ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/i386/)
4 ifeq ($(ARCH),i386)
5 ARCH := x86
6 CFLAGS := -DCONFIG_X86_32 -D__i386__
7 endif
8 ifeq ($(ARCH),x86_64)
9 ARCH := x86
10 CFLAGS := -DCONFIG_X86_64 -D__x86_64__
11 endif
13 CFLAGS += -I../../../../usr/include/
15 TEST_GEN_PROGS := msgque
17 include ../lib.mk