test mbuf attach
[dpdk.git] / mk / rte.extlib.mk
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2010-2014 Intel Corporation
3
4 MAKEFLAGS += --no-print-directory
5
6 EXTLIB_BUILD := y
7
8 # we must create the output dir first and recall the same Makefile
9 # from this directory
10 ifeq ($(NOT_FIRST_CALL),)
11
12 NOT_FIRST_CALL = 1
13 export NOT_FIRST_CALL
14
15 all:
16         $(Q)mkdir -p $(RTE_OUTPUT)
17         $(Q)$(MAKE) -C $(RTE_OUTPUT) -f $(RTE_EXTMK) \
18                 S=$(RTE_SRCDIR) O=$(RTE_OUTPUT) SRCDIR=$(RTE_SRCDIR)
19
20 %::
21         $(Q)mkdir -p $(RTE_OUTPUT)
22         $(Q)$(MAKE) -C $(RTE_OUTPUT) -f $(RTE_EXTMK) $@ \
23                 S=$(RTE_SRCDIR) O=$(RTE_OUTPUT) SRCDIR=$(RTE_SRCDIR)
24 else
25 include $(RTE_SDK)/mk/rte.lib.mk
26 endif