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