xref: /kernel/linux/linux-6.6/tools/testing/selftests/ipc/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/testing/selftests/ipc/
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciuname_M := $(shell uname -m 2>/dev/null || echo not)
362306a36Sopenharmony_ciARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/i386/)
462306a36Sopenharmony_ciifeq ($(ARCH),i386)
562306a36Sopenharmony_ci        ARCH := x86
662306a36Sopenharmony_ci	CFLAGS := -DCONFIG_X86_32 -D__i386__
762306a36Sopenharmony_ciendif
862306a36Sopenharmony_ciifeq ($(ARCH),x86_64)
962306a36Sopenharmony_ci	ARCH := x86
1062306a36Sopenharmony_ci	CFLAGS := -DCONFIG_X86_64 -D__x86_64__
1162306a36Sopenharmony_ciendif
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciCFLAGS += $(KHDR_INCLUDES)
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciTEST_GEN_PROGS := msgque
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciinclude ../lib.mk
1862306a36Sopenharmony_ci
19

Indexes created Thu Nov 07 10:32:03 CST 2024