xref: /third_party/ltp/testcases/kernel/syscalls/swapon/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/testcases/kernel/syscalls/swapon/
1f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later
2f08c3bdfSopenharmony_ci# Copyright (c) International Business Machines Corp., 2001
3f08c3bdfSopenharmony_ci
4f08c3bdfSopenharmony_ciNEEDSPECIAL	:= $(shell echo MAX_SWAPFILES | $(CC) -E -xc -include linux/swap.h 2>/dev/null - | tail -n 1 | grep 32; echo $?)
5f08c3bdfSopenharmony_ciifneq ($(strip $(NEEDSPECIAL)),)
6f08c3bdfSopenharmony_ciexport CFLAGS	+= -DOLDER_DISTRO_RELEASE
7f08c3bdfSopenharmony_ciendif
8f08c3bdfSopenharmony_ci
9f08c3bdfSopenharmony_citop_srcdir		?= ../../../..
10f08c3bdfSopenharmony_ci
11f08c3bdfSopenharmony_ciLTPLIBS = ltpswap
12f08c3bdfSopenharmony_ci
13f08c3bdfSopenharmony_ciinclude $(top_srcdir)/include/mk/testcases.mk
14f08c3bdfSopenharmony_ci
15f08c3bdfSopenharmony_ciLTPLDLIBS  = -lltpswap
16f08c3bdfSopenharmony_ci
17f08c3bdfSopenharmony_ciinclude $(top_srcdir)/include/mk/generic_leaf_target.mk
18

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