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
/)
6 CFLAGS
:= -DCONFIG_X86_32
-D__i386__
10 CFLAGS
:= -DCONFIG_X86_64
-D__x86_64__
13 CFLAGS
+= -I..
/..
/..
/..
/usr
/include/
15 TEST_GEN_PROGS
:= msgque