dpdk-fm10k/mk/rte.extlib.mk
Bruce Richardson 2abaf2eba2 mk: use SPDX tag for Intel copyright files
Replace the BSD license header with the SPDX tag for Makefiles
with only an Intel copyright on them.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2018-01-04 22:41:39 +01:00

27 lines
615 B
Makefile

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2010-2014 Intel Corporation
MAKEFLAGS += --no-print-directory
EXTLIB_BUILD := y
# we must create the output dir first and recall the same Makefile
# from this directory
ifeq ($(NOT_FIRST_CALL),)
NOT_FIRST_CALL = 1
export NOT_FIRST_CALL
all:
$(Q)mkdir -p $(RTE_OUTPUT)
$(Q)$(MAKE) -C $(RTE_OUTPUT) -f $(RTE_EXTMK) \
S=$(RTE_SRCDIR) O=$(RTE_OUTPUT) SRCDIR=$(RTE_SRCDIR)
%::
$(Q)mkdir -p $(RTE_OUTPUT)
$(Q)$(MAKE) -C $(RTE_OUTPUT) -f $(RTE_EXTMK) $@ \
S=$(RTE_SRCDIR) O=$(RTE_OUTPUT) SRCDIR=$(RTE_SRCDIR)
else
include $(RTE_SDK)/mk/rte.lib.mk
endif