xref: /third_party/ltp/testcases/kernel/mem/hugetlb/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/testcases/kernel/mem/hugetlb/
1f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later
2f08c3bdfSopenharmony_ci# Copyright (c) International Business Machines  Corp., 2001
3f08c3bdfSopenharmony_ci
4f08c3bdfSopenharmony_citop_srcdir		?= ../../../..
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_ciinclude	$(top_srcdir)/include/mk/env_pre.mk
7f08c3bdfSopenharmony_ci
8f08c3bdfSopenharmony_ciLIBDIR			:= lib
9f08c3bdfSopenharmony_ciLIB			:= $(LIBDIR)/libhugetlb.a
10f08c3bdfSopenharmony_ciFILTER_OUT_DIRS		:= $(LIBDIR)
11f08c3bdfSopenharmony_ci
12f08c3bdfSopenharmony_ci$(LIBDIR):
13f08c3bdfSopenharmony_ci	mkdir -p "$@"
14f08c3bdfSopenharmony_ci
15f08c3bdfSopenharmony_ci$(LIB): $(LIBDIR)
16f08c3bdfSopenharmony_ci	$(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" all
17f08c3bdfSopenharmony_ci
18f08c3bdfSopenharmony_ciMAKE_DEPS		:= $(LIB)
19f08c3bdfSopenharmony_ci
20f08c3bdfSopenharmony_citrunk-clean:: | lib-clean
21f08c3bdfSopenharmony_ci
22f08c3bdfSopenharmony_cilib-clean:: $(LIBDIR)
23f08c3bdfSopenharmony_ci	$(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" clean
24f08c3bdfSopenharmony_ci
25f08c3bdfSopenharmony_ciinclude $(top_srcdir)/include/mk/generic_trunk_target.mk
26

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