• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-or-later
2# Copyright (c) International Business Machines  Corp., 2001
3
4top_srcdir		?= ../../../..
5
6include	$(top_srcdir)/include/mk/env_pre.mk
7
8LIBDIR			:= lib
9LIB			:= $(LIBDIR)/libhugetlb.a
10FILTER_OUT_DIRS		:= $(LIBDIR)
11
12$(LIBDIR):
13	mkdir -p "$@"
14
15$(LIB): $(LIBDIR)
16	$(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" all
17
18MAKE_DEPS		:= $(LIB)
19
20trunk-clean:: | lib-clean
21
22lib-clean:: $(LIBDIR)
23	$(MAKE) -C $^ -f "$(abs_srcdir)/$^/Makefile" clean
24
25include $(top_srcdir)/include/mk/generic_trunk_target.mk
26